|
-
October 22nd, 2007, 05:42 AM
#1
Help, C++ Newbie
Hi
I have just started to program in C++ at university, the program that i have written runs but i want to use a while loop at the end to ask the user whether they want to run the program again.
If they press 'N' the program shuts down and if they press 'Y' the program does restart but the buffer needs clearing.
The question is how do you clear the buffer???
Please respond ASAP.
Thanks
Rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|