main

main - #include "jeu.h"

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: #include "jeu.h" //------------------------------------------------------------- // Permet de // - commencer une nouvelle partie // - quitter le jeu //------------------------------------------------------------- bool nouvelle_partie() { char rep; cout << endl << endl << endl << endl; cout <<" ******************************************"<< endl; cout <<" * Une nouvelle partie ? *"<< endl; cout <<" ******************************************"<< endl; cout <<" * Oui.............................* O *"<< endl; cout <<" * Non.............................* N *"<< endl; cout <<" ******************************************"<< endl; cout <<" Votre choix > "; cin >> rep; return (rep == 'O' || rep == 'o'); } //------------------------------------------------------------- // Permet de sauvegarder une partie. //------------------------------------------------------------- void sauver(config cfg) { char rep; cout << endl << endl; cout <<" ******************************************"<< endl; cout <<" * Sauvegarder la partie ? Sauvegarder la partie ?...
View Full Document

Page1 / 2

main - #include "jeu.h"

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online