Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualbradbobak

Posted 17 June 2013 - 12:28 AM

 The compiler needs to know what 'menu()' is. Basically you 'forward declare' it before your main() function. Something like "int menu();" before the "int main() { ... }" should do the trick. Same goes for the other functions that you call before they appear in the source code. 

 

edit: this should probably be in the 'for beginners' forum.


#1bradbobak

Posted 17 June 2013 - 12:26 AM

 The compiler needs to know what 'menu()' is. Basically you 'forward declare' it before your main() function. Something like "int menu();" before the "int main() { ... }" should do the trick. Same goes for the other functions that you call before they appear in the source code. 


PARTNERS