So I got motivated to write a 2 Player tic tac toe program,where a user enters a column no. to change it into X or O but the program doesnt after the first user enters his choice.It d be nice to get to know why.I have not written the won or not algorithm yet.I wouldnt mind criticisms either if the program is ridiculously long or something like that.thank you
Your choices() function is wrong at line 81 and line 77 (these errors may be hard to detect if you didn't get compiler warnings ('==' vs '=' ).
By the way, you will get a segmentation fault if you do not check whether the input is a valid number.
oh it works now! Thanks a lot you saved my day. Plus you just reminded me that i have not understood the while(......) part cos i have no idea what would happen if i were to enter false instead of true in that condition part, ya i ll google that and get that cleared in my headd.