Hello world
can i know what library contain clrscr function ?
I'm programming under windows nt4 with dev-cpp, and, if I'll write "clrscr()" into my program, compilator will not found function 'clrscr'.
thanks
Daniel P. Schreber
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-03-02
#include <stdlib.h> // contains system()
then call
system("cls");
for unix it is
system("clear");
or you could accomplishs simular with a scroll function
for (int i = top; i < bottom; i++)
cout << "\n";
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello world
can i know what library contain clrscr function ?
I'm programming under windows nt4 with dev-cpp, and, if I'll write "clrscr()" into my program, compilator will not found function 'clrscr'.
thanks
Daniel P. Schreber
#include <stdlib.h> // contains system()
then call
system("cls");
for unix it is
system("clear");
or you could accomplishs simular with a scroll function
for (int i = top; i < bottom; i++)
cout << "\n";