diff --git a/TicTacToe/fonctions.cpp b/TicTacToe/fonctions.cpp index 30b1a52..fe0ab2b 100644 --- a/TicTacToe/fonctions.cpp +++ b/TicTacToe/fonctions.cpp @@ -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é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);