Clearing Prompt?

This is a discussion on Clearing Prompt? within the C++ Programming forums, part of the General Programming Boards category; Hello. Are there any commands/libraries out there to clear the screen of a command line application for Windows and MS-DOS? ...

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    4

    Clearing Prompt?

    Hello.

    Are there any commands/libraries out there to clear the screen of a command line application for Windows and MS-DOS?

    I am using Dev-C++ for Windows, RHIDE with G++ for DOS.
    (Linux/Unix G++ would be a bonus!)

    The only other solution I found was:
    Code:
    system("cls");
    But it's too slow for the rate I want to refresh the command line at. (ASCII animation anyone?) I also don't feel like calling to the operating system.

    Thanks!
    Last edited by Yart; 10-01-2009 at 10:26 AM. Reason: Forgot to include an OS.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,935
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help using the cmd prompt (Vista)
    By RandomEvil in forum C Programming
    Replies: 5
    Last Post: 09-26-2009, 09:26 PM
  2. Control characters to emulate a prompt?
    By xconspirisist in forum Windows Programming
    Replies: 3
    Last Post: 02-08-2006, 03:16 PM
  3. Male Perfectionist seeks Perfect Prompt
    By sean in forum Tech Board
    Replies: 10
    Last Post: 07-17-2004, 03:29 PM
  4. Removing spaces from a "string"
    By sytaylor in forum C++ Programming
    Replies: 20
    Last Post: 03-25-2004, 09:14 AM
  5. Password prompt in unix w/o \b
    By rafe in forum C++ Programming
    Replies: 1
    Last Post: 10-09-2002, 08:54 AM

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