Thread: How Can I Clearscreen?

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    75

    How Can I Clearscreen?

    well I dunno what it's called but it looks to me like I'm using dos
    I mean the the little program I have started is using dos
    (I really would like to start a program using windows but I understand I need to learn more) anyway it's actually a text combat engine but now I need to know how to clear the screen of any text any help would be appreciated

    cheers

    stealth

  2. #2
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    What compiler? For Win32 console?
    I compile code with:
    Visual Studio.NET beta2

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    So you are probably using the windows console. The dos-like
    black window in Windows. Clearing the screen can be easy
    but it can also be quite difficult. That depends on what compiler
    you use. If you don't want to wait for me to answer when you
    posted the info, go and look into this site's FAQ.
    Clearing the screen is a major point in there.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Unregistered
    Guest

    Lightbulb

    Yo, simple use system("cls");

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    75

    Oh

    Look thanks alot for the help guys


    cheers


    stealth

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. clearscreen using borland libraries
    By ryan_germain in forum C++ Programming
    Replies: 2
    Last Post: 08-04-2004, 09:50 AM
  2. clearscreen
    By Jotun in forum C++ Programming
    Replies: 3
    Last Post: 04-18-2004, 03:55 PM
  3. ClearScreen
    By KneeGrow in forum C++ Programming
    Replies: 5
    Last Post: 05-25-2003, 07:26 PM
  4. Windows console... clearscreen?
    By gMan in forum Windows Programming
    Replies: 8
    Last Post: 04-11-2003, 01:18 AM
  5. ClearScreen so bad you cant see anything
    By bluehead in forum C++ Programming
    Replies: 9
    Last Post: 02-26-2002, 01:37 PM