Is it possible on Windows without using WinAPI?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You may not remove last character.
But you can get the similar effect by overwriting the last character.
For that, you need to move the console cursor backwards by outputting a ‘\b’ (backspace) character like shown below.
So the output would be