System("command"); is a function call that will make use of any of the commands available in your windows command prompt. Go to StartMenu->Run and type in cmd and hit enter, that will bring up a command prompt. If you type cls into the command prompt and hit enter it will clear ...
clrscr() is defined in the conio.h header file. Since we'll be removing clrscr() and replacing it with system(), you can remove the conio.h header file. 2 Replace clrscr() with system("cls") on Windows. The cls command, when run at the Windows command prompt, clears the console ...