Re: [Dev-C++] Dev-cpp-users Digest, Vol 34, Issue 12
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Benjamin K. <the...@gm...> - 2009-03-27 13:37:34
|
To obtain a working while loop just type the following in that part of your program char again; // without intializing it.. while ( again != 'n' ) { cout << "Do you Want to play again(y/n)?:"; cin >> again; } hope that will work nealy the way you want it to!.. woofer |