what is the C code to clear a screen?
and is there a function whereby you can pause the screen a page at a time?
thanks.
(Still new to C)
what is the C code to clear a screen?
and is there a function whereby you can pause the screen a page at a time?
thanks.
(Still new to C)
Click this link and all will be revealed!
The FAQ has a wealth of information for a novice such as yourself. I would recommend reading it or printing it out.
hth.
If you are running a DOS program you can clear the screen by using the system() command. To clear the screen you would just put in:
system("cls");
and that should clear the screen.
I think you have to include stdlib.h to use the system function though.