I need some help with a function. We have to write a tic tac toe game and we've got the game going but we're having trouble getting the last function started. The function is to tell who won of if there is a tie. If you'd like to take a look at what we have so far, email me and I'll send you the code. Thanks a million
Help with a function in C++?
I did a tic-tac-toe app in VB a while back. Not sure how to do it in C++ though. Check http://www.pscode.com for great sample codes.
Reply:You might have some luck pasting your code on http://rafb.net/paste/ and making a new question. I'm pretty busy usually but if you need some help I can a look at it.
Reply:well .. if there is a tie, just let the program run from the beginning
Reply:Use the debugger. Your going to have to get used to it eventually.
It will help you a whole lot when trying to troubleshoot your code.
You can step through the code or set breakpoints and check the value of variables and you can determine where the error is occuring.
elephant ear
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment