Wrong forum, sorry.
Printable View
Wrong forum, sorry.
I have not go through your long code but here is the solution for the quoted text.Quote:
what needs to be done to ask the user if they want to run the program again
And one more thing. This forum is used for VC++ so post C/C++ related query in Non VC++ forum.Code:char choice;
do {
...
...
your program
...
...
cout<<"want to continue (y/n): ";
cin>>choice;
} while (choice != 'n');