C Board  

Go Back   C Board > General Programming Boards > FAQ Board

 
 
LinkBack Thread Tools Display Modes
Old 11-01-2001, 04:40 PM   #1
Pain2k
Guest
 
Posts: n/a
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
 
Old 11-01-2001, 05:30 PM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline  
Old 11-01-2001, 05:37 PM   #3
+++ OK NO CARRIER
 
quzah's Avatar
 
Join Date: Oct 2001
Posts: 10,262
Maybe if you shake it, side to side, like an etch-a-sketch...

Quzah.
quzah is offline  
Old 11-01-2001, 05:51 PM   #4
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
> 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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline  
Old 11-01-2001, 06:34 PM   #5
Just one more wrong move.
 
-KEN-'s Avatar
 
Join Date: Aug 2001
Posts: 3,232
step 1, turn off the monitor...
__________________
Gays can't love like real people

entropysink.com -- because arses weren't designed for running websites.
-KEN- is offline  
Old 11-01-2001, 08:35 PM   #6
Registered User
 
Join Date: Oct 2001
Posts: 15
clrscr in visual c

Use
#include <stdlib.h>

system ("cls");
aristotle1 is offline  
Old 11-01-2001, 09:15 PM   #7
Unleashed
 
Join Date: Sep 2001
Posts: 1,755
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.
Shadow is offline  
Old 11-05-2001, 05:43 AM   #8
It's full of stars
 
adrianxw's Avatar
 
Join Date: Aug 2001
Posts: 4,833
>>> 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.
adrianxw is offline  
 

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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