Thread: how do i clear screen

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    1

    how do i clear screen

    what is the C code to clear a screen?

    and is there a function whereby you can pause the screen a page at a time?

    thanks.
    (Still new to C)

  2. #2
    aurė entuluva! mithrandir's Avatar
    Join Date
    Aug 2001
    Posts
    1,209
    Click this link and all will be revealed!

    The FAQ has a wealth of information for a novice such as yourself. I would recommend reading it or printing it out.

    hth.

  3. #3
    The Unregistered One
    Guest
    If you are running a DOS program you can clear the screen by using the system() command. To clear the screen you would just put in:
    system("cls");
    and that should clear the screen.
    I think you have to include stdlib.h to use the system function though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CLear Screen Routine
    By AQWst in forum C++ Programming
    Replies: 4
    Last Post: 12-13-2004, 08:24 PM
  2. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  3. Getting a clear screen...
    By Finchie_88 in forum C++ Programming
    Replies: 13
    Last Post: 09-03-2004, 05:38 PM
  4. Clear Screen Again!!!
    By trang in forum C Programming
    Replies: 3
    Last Post: 12-13-2003, 08:36 AM
  5. Yet another clear screen thread :D
    By kermit in forum Linux Programming
    Replies: 2
    Last Post: 11-20-2003, 05:14 AM