My Error gives me this:
c:\users\megacrashgr\documents\visual studio 2010\projects\tic tac toe test\tic tac toe test 2\tic tac toe 2.cpp(71): error C2447: '{' : missing function header (old-style formal list?)
I know this error means a missing or misplaced bracket. But everytime I think I've fixed it, it gives me another error.
The error tells me it's on line 71, and it's expecting a declaration. How do I resolve this?
Look at the braces. Line 59 and 68 form the body of moveIsValid.
When the compiler encounters the brace at line 68, it know the function is complete. It then sees the open brace at line 71 and doesn't know what to do with it. Are lines 72-78 part of moveIsValid? If so, get rid of lines 68 and 71. If not, where do those lines belong. They can;t stand by themselves.