C Board  

Go Back   C Board > General Programming Boards > FAQ Board

 
 
LinkBack Thread Tools Display Modes
Old 10-14-2001, 02:07 PM   #1
Unregistered
Guest
 
Posts: n/a
FAQ: clearing screen

is there a command to clear the screen in a dos prompt running program? thanks a ton
 
Old 10-14-2001, 02:35 PM   #2
Registered User
 
Join Date: Oct 2001
Posts: 104
In Borland, it is clrscr()
Visual C++ has no built in function to clear the screen, but you can use this to do that:
http://cs.colgate.edu/APCSWeb/VC++ClearScr.htm
__________________
Ilia Yordanov,
http://www.cpp-home.com ; C++ Resources
loobian is offline  
Old 10-14-2001, 07:17 PM   #3
Registered User
 
Join Date: Aug 2001
Posts: 47
There's also the really slow unportable way:


Code:
system("cls");
lol
TerranFury is offline  
 

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
clearing the screen ssharish C Programming 2 02-01-2005 09:00 PM
clearing the screen satory C Programming 5 10-23-2004 06:51 AM
i am not able to figure ot the starting point of this youngashish C++ Programming 7 10-07-2004 02:41 AM
clrscr(); not clearing the screen Noobie C Programming 8 05-01-2003 01:44 PM
Inline ASM and Screen Clearing Wavering C Programming 0 12-08-2001 06:03 AM


All times are GMT -6. The time now is 01:32 PM.


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