Please use code tags when posting code.
In addition to GCDEF's solution, you can also declare your functions before main and define them after main, as such
#include <iostream>
void foo();...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: D_Drmmr Search: Search took 0.04 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |