Saturday, July 16, 2011

C++ error Do I have too many brackets or what?

Just add two closing brackets and it should compile fine. Also, get out of the habit of using global variables...it's horrible practice since anything can modify it. Put those variables inside of the main function.

No comments:

Post a Comment