0
How to use clear screen function.
New compliers doesn't support conio.h . then how to use clrscr function.
5 Answers
+ 1
if you're using windows you can use system ("cls")
if Linux there's an ecape code that clears the screen but I forget what it is at this time
+ 1
on linux: system("clear");
0
i'm pretty sure printing blank lines isn't a proper way but it's centrally better than function system() which you should not use
- 1
how to make our program more color full. new compliers doesn't support graphics.h
- 2
alternatively you could always print out some blank lines which makes the program more portable