Quote:
Originally Posted by mclark View Post
I'm using xcode as my compiler, and it's stating that there are 2 bugs...
the first bug is on the second line where the "{" is. Xcode is says, "Return type of 'main' is not 'int'"... what does this mean?

and... the other bug is on the 72 line, where the getch() statement is.. xcode says, "Implicit declaration of function 'getch'"...

any idea of how to correct these two bugs?
For the first bug change the data type of main from void to int . and at the end before closing main function "return 0"

Code:
int main()
for the second bug :
Are you including conio.h ?for getch() you should include conio.h