Like Tree1Likes
  • 1 Post By quzah

FAQ Clear screen command (C)

This is a discussion on FAQ Clear screen command (C) within the FAQ Board forums, part of the General Programming Boards category; Your all gonna take the ........, but its a genuine question!, how do i clear the screen in C?, apart ...

  1. #1
    Pain2k
    Guest

    Unhappy Clear screen command

    Your all gonna take the ........, but its a genuine question!, how do i clear the screen in C?, apart from \n\n\n\n\n\n\n\n

    Norris

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,821
    You mean you got past all the forum notices and links to the FAQ, and you still ask the question....
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Maybe if you shake it, side to side, like an etch-a-sketch...

    Quzah.
    Salem likes this.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,821
    > Maybe if you shake it, side to side, like an etch-a-sketch.
    LOL - nice one
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    step 1, turn off the monitor...

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    15

    clrscr in visual c

    Use
    #include <stdlib.h>

    system ("cls");

  7. #7
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    Throw the monitor out the window

    Advantages:
    Pretty fail-proof
    Releases your anger

    Disadvantages:
    No more monitor.
    If you forgot to unplug it, other computer peripherals might follow it in a racing frenzy
    You have to open the window and take the screen out (the mesh thingie that keeps bugs out.... supposedly...)
    (Note from webmaster: Not portable. Difficult to write code to throw monitor out window.)
    The world is waiting. I must leave you now.

  8. #8
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> system ("cls");

    Then read the FAQ to find out why this is a bad idea.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a clear screen...
    By Finchie_88 in forum C++ Programming
    Replies: 13
    Last Post: 09-03-2004, 06:38 PM
  2. Clear Screen Again!!!
    By trang in forum C Programming
    Replies: 3
    Last Post: 12-13-2003, 08:36 AM
  3. Yet another clear screen thread :D
    By kermit in forum Linux Programming
    Replies: 2
    Last Post: 11-20-2003, 05:14 AM
  4. How to clear the screen?
    By Zopyrus in forum C++ Programming
    Replies: 8
    Last Post: 11-07-2003, 10:20 PM
  5. clear screen function probs
    By Unregistered in forum C Programming
    Replies: 10
    Last Post: 03-07-2002, 12:29 PM

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