The '\b' character in C++ allows you to backspace the last character in the output stream. For example:
cout << "Hello, world!\b" << endl;would output Hello, world to the console (notice the missing exclamation point). Your task is to create a program that inputs a string of 10 characters or less from the user and outputs it to the console, then removes it character by character until the screen is blank again. You must only delete the exact number of characters that the user inputted.
'\b' must be used in the same part of the output, it cannot be separated by << like '\n' can.cin.ignore(80,'\n'); to limit the number of input characters to the number specified in the instructions.REMEMBER: You are encouraged to do research but if you simply Google this challenge and copy and paste a code sample from online you will not get credit for this.
The solution will be posted on this page in a few days.
If you have any questions, please send Dan and Mrs. Fobes an email using the fancy button right next to these words. Fancy Email Button - Click here