|
-
May 11th, 2002, 09:54 AM
#1
Thread Starter
Lively Member
Clearing the screen in visual c++
ok, im using visual C++, i know there is no header to clear the screen how might i do this????
I am not using any windows, just the basic C++ programs
-
May 11th, 2002, 11:10 AM
#2
Monday Morning Lunatic
Code:
#include <cstdlib>
void somecode() {
std::system("cls");
}
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
May 12th, 2002, 03:48 PM
#3
I think you can use clrscr() of conio.h
-
May 12th, 2002, 03:52 PM
#4
I thought conio was a Borland thing and didn't work in MSVC?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
May 12th, 2002, 04:24 PM
#5
-
May 12th, 2002, 04:25 PM
#6
I just did a test and conio.h work on MSVC.
-
May 13th, 2002, 08:26 AM
#7
conio yes, but not clrscr
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|