How do you clear screens?

I would like to clear a screen without using the System("CLS") code. Ive heard that people can replace the "CLS" command with something malicious.

Also,the size limit of the 'integers',can you change that somehow? (exept using long int.)

Any replies are appreciated.
The C language has no inherent concept of a display screen so if you need to "clear" your display start learning a GUI package. http://cplusplus.com/forum/beginner/1988/ EDIT: oop, wrong link, see Moschops post below...

Upgrade to a 64 bit OS??? http://stackoverflow.com/questions/589575/size-of-int-long-etc
Last edited on
Ive heard that people can replace the "CLS" command with something malicious.


Anything you ever do with the system function is rolling the dice and hoping that nobody has put something malicious in place. Here's the local article on screen clearing: http://www.cplusplus.com/articles/4z18T05o/
Last edited on
Topic archived. No new replies allowed.