main

main - #include"jeu.h" Permet de commencer une...

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

This note was uploaded on 11/01/2009 for the course AV 244 taught by Professor Dub during the Spring '09 term at ECE.

Page1 / 2

main - #include"jeu.h" Permet de commencer une...

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