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