Merge branch 'main' of https://gitea.zkd.ca/DEV_WEB/TicTacToe
This commit is contained in:
@@ -30,7 +30,7 @@ void ouvrirFichier(std::fstream& monFlux, std::string nomFichier) {
|
||||
if (!monFlux) //On v<>rifie si le flux est "faux"/non fonctionnel.
|
||||
{
|
||||
cout << "ERREUR: Impossible d'ouvrir le fichier!" << endl;
|
||||
system("PAUSE>0");
|
||||
system("PAUSE>null");
|
||||
exit(1); //On quitte imm<6D>diatement le programme
|
||||
}
|
||||
}
|
||||
@@ -323,7 +323,7 @@ void jeuUnJoueur(string grid[][LARGTIC]) {
|
||||
if (fin != true) {
|
||||
tourOrdi(grid);
|
||||
gagnant = 2;
|
||||
system("PAUSE>0");
|
||||
system("PAUSE>nul");
|
||||
fin = verifFinMatch(grid);
|
||||
}
|
||||
} while (fin != true);
|
||||
|
||||
Reference in New Issue
Block a user