From 0d64de9007f638fa48acb55363bf0a2ae91342b8 Mon Sep 17 00:00:00 2001 From: Lea Date: Fri, 28 Nov 2025 09:22:10 -0500 Subject: [PATCH] =?UTF-8?q?modification=20des=20system("PAUSE>0"),=200=20c?= =?UTF-8?q?hang=C3=A9=20pour=20nul?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TicTacToe/fonctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);