modification des system("PAUSE>0"), 0 changé pour nul
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.
|
if (!monFlux) //On v<>rifie si le flux est "faux"/non fonctionnel.
|
||||||
{
|
{
|
||||||
cout << "ERREUR: Impossible d'ouvrir le fichier!" << endl;
|
cout << "ERREUR: Impossible d'ouvrir le fichier!" << endl;
|
||||||
system("PAUSE>0");
|
system("PAUSE>null");
|
||||||
exit(1); //On quitte imm<6D>diatement le programme
|
exit(1); //On quitte imm<6D>diatement le programme
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -323,7 +323,7 @@ void jeuUnJoueur(string grid[][LARGTIC]) {
|
|||||||
if (fin != true) {
|
if (fin != true) {
|
||||||
tourOrdi(grid);
|
tourOrdi(grid);
|
||||||
gagnant = 2;
|
gagnant = 2;
|
||||||
system("PAUSE>0");
|
system("PAUSE>nul");
|
||||||
fin = verifFinMatch(grid);
|
fin = verifFinMatch(grid);
|
||||||
}
|
}
|
||||||
} while (fin != true);
|
} while (fin != true);
|
||||||
|
|||||||
Reference in New Issue
Block a user