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
Because
myFunction()
has to be declared before using it. This is c++ behaviour in general.