modification des system("PAUSE>0"), 0 changé pour nul

This commit is contained in:
Lea
2025-11-28 09:22:10 -05:00
parent 0bfac9b55e
commit 0d64de9007

View File

@@ -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);