English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2007-02-04 13:08:34 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

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.

2007-02-04 15:36:30 · answer #1 · answered by Richard H 7 · 0 1

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.

2007-02-04 21:25:53 · answer #2 · answered by Anonymous · 0 0

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.

2007-02-05 00:36:16 · answer #3 · answered by D 4 · 0 0

well .. if there is a tie, just let the program run from the beginning

2007-02-04 21:12:06 · answer #4 · answered by Luay14 6 · 1 0

fedest.com, questions and answers