[Dev-C++] Project in DevCpp4 (files 'n stuff)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ste...@ge...> - 2001-09-27 17:47:48
|
Hi all!
I having serious problems with my projects... I would like to split my code
up into some different files, to make it more ease to navigate. But, when I
put functions all around different files, they cant call eachother, if that
makes any sense.
Example:
main.cpp:
#include "file01.cpp"
#include "file02.cpp"
void main(void)
{
wierd(); //works Ok :/
}
file01.cpp:
void bob(void)
{
blabla
}
file02.cpp:
void wierd(void)
{
bob(void) //isn't working!
}
And the files ARE include to my project, and everything seems to be right,
but it isn't working for me... what's wrong??
Thanks! :)
Stein
|