Thread:TriforceOfKirby/@comment-18467653-20140813193340/@comment-5106053-20140813221511

It's because your function was never declared, you can do one of 2 things to fix it: Here's some examples for both: using namespace std; void myFunction{ cout<<"hi\n"; } int main{ myFunction; return 0; } using namespace std; void myFunction; int main{ myFunction; return 0; } void myFunction{ cout<<"hi\n"; } For more information: http://www.cplusplus.com/doc/tutorial/functions/#declarations
 * 1) Put your function in front of int main
 * 2) Declare a prototype function before int main
 * Method 1
 * 1) include
 * Method 2
 * 1) include