Why can\'t I put a function after main, visual studio cannot build the program. Is this a C++ quirk or a Visual Studio quirk?
eg.
int main() { myF
Functions need to be declared before they can be used:
void myFunction(); int main() { myFunction(); } void myFunction() { ... }