If I have a program with text and I want the user to press a key to clear the text, how do I do it? Say this is my code:
How do I make c clear the text? (Yes, I know I need c as a char...)Code:#include <iostream>
int main()
{
cout<<"....."<<endl;
cout<<"Press c to clear the text..."
return 0;
} //Note: Not adding chars or neccesary things for
//this program...