I am writing a program. In a situation I want to print something and go to clear the screen but when i clear the screen the printed text also gets cleared. I want it such that after the print we have to click a key for the screen to get cleared. Is there a command or code which does that.
Code :
In TC or TC++
Code:
printf("Click to continue");
getch();
system("clear");
