quick question... I need to clear a screen for a C assignment but I cant find how to do this. Can anyone help me out?
quick question... I need to clear a screen for a C assignment but I cant find how to do this. Can anyone help me out?
if your using visual c++ clrscr is the following
#include <stdlib.h>
system ("cls");
if you using others it should be
clrscr ();
There is a very complete answer to this question in the FAQ.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi