![]() ![]() getXOMouv() called vs getXOMouv (char symbolMouv) declared.Methods called from jouer() don't match their definition, for example:.jouer function should probably be a membet method of the TicTacToe class since it calls a lot of its members.Cannot call a non-static class member without an object TicTacToe::affichTab() const - probably you just wanted to call affichTab().To give you some directions I'll try to list some noticeable problems in your code: Besides, when you try to write some piece of code try writing it part by part, check if it compiles/works as expected then move forward. Maybe you should read some tutorials on the topic. This looks like it's one of your first adventures with C++. If ((tableau) & (tableau) & (tableau)) return victoire //colomneĮlse if ((tableau) & (tableau) & (tableau)) return victoire //colomneĮlse if ((tableau) & (tableau) & (tableau)) return victoire // colomneĮlse if((tableau ) & (tableau ) & (tableau))return victoire // lignmeĮlse if ((tableau) & (tableau) & (tableau)) return victoire // ligneĮlse if ((tableau) & (tableau) & (tableau)) return victoire // diagoĮlse if ((tableau) & (tableau) & (tableau)) return victoire // // diago The main issue is: expected primary-expression before 'int' and expected primary-expression before 'char'.įor(int i = 0 i = 0 & lig =0 & col <= 2 & tableau = ' ' ) It's been a few days I'm working on it, but I can't see the problemS. ![]() I have a little problem with the function " JOUER ".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |