Original Post
Ok, this has just been bugging me recently.
Take this:
i have one function in the first source file called Build(). And in the second source file i have one called Load().
Now, Build() calls Load(). But theres a problem, the Second source file is complied before the first, and so when the compiler sees this function call called Build(), and it thinks ''Where the hells this build then''? and so and error occurs.
Normally i would place a function prototype into the header file for the second source file so that it knows that the function at least exists. But its painstaking, and i dont like it (for organisational purposes).
Is there a way around it?
I use Visual C++.
Anyone?
Thanks.