Menu

'clrscr' function

2003-02-12
2012-09-26
  • Vivien Vincent Steffen

    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

     
    • Anonymous

      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";

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.