Like Tree1Likes
  • 1 Post By TerranFury

FAQ: clearing screen

This is a discussion on FAQ: clearing screen within the FAQ Board forums, part of the General Programming Boards category; is there a command to clear the screen in a dos prompt running program? thanks a ton...

  1. #1
    Unregistered
    Guest

    FAQ: clearing screen

    is there a command to clear the screen in a dos prompt running program? thanks a ton

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    104
    In Borland, it is clrscr()
    Visual C++ has no built in function to clear the screen, but you can use this to do that:
    http://cs.colgate.edu/APCSWeb/VC++ClearScr.htm
    Ilia Yordanov,
    http://www.cpp-home.com ; C++ Resources

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    47
    There's also the really slow unportable way:


    Code:
    system("cls");
    lol
    SimarGill likes this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. clearing the screen
    By ssharish in forum C Programming
    Replies: 2
    Last Post: 02-01-2005, 08:00 PM
  2. clearing the screen
    By satory in forum C Programming
    Replies: 5
    Last Post: 10-23-2004, 06:51 AM
  3. 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
  4. clrscr(); not clearing the screen
    By Noobie in forum C Programming
    Replies: 8
    Last Post: 05-01-2003, 01:44 PM
  5. Inline ASM and Screen Clearing
    By Wavering in forum C Programming
    Replies: 0
    Last Post: 12-08-2001, 05:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21