Which function clears the screen? and what header do I have to include?
I know of clrscr(); but I don't know which header to include..
is there any other function besides clrscr()?
Printable View
Which function clears the screen? and what header do I have to include?
I know of clrscr(); but I don't know which header to include..
is there any other function besides clrscr()?
You can use clrscr() by including the header file conio.h , thats console input/output. Also if you want DOS specific clear screen you can use system( "cls" ); but i'd recommend the conio.h version.Quote:
Originally posted by Jez_Master
Which function clears the screen? and what header do I have to include?
I know of clrscr(); but I don't know which header to include..
is there any other function besides clrscr()?
Hmm he forgot to mention that clrscr() is implementation dependent and not supported by all compilers. I sugges before you post things in the future to use the search button b/c this topic has been asked more than I can count on this board and it really ........es me and others off to have to see it over and over so learn to read the board guide and also learn how to use the "search" button!
Ok, my bad...I'm relatively new and didn't know I had that options..:D
Search option,..hmm..note to self...