Thread: Clearing Prompt?

Threaded View

Previous Post Previous Post   Next Post Next Post
  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.

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, 04: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, 10: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