Skip to main content
gamedev.net
🔒 Locked

Clearing Console Screen?

Started by EbonySeraph Mar 5, 2003 at 4:21 AM 3 replies 1.1k views
Original Post
EbonySeraph
EbonySeraph
I''m a bit more experienced than to have to ask this question on these boards. But I can''t seem to find it in the header "conio.h". What is the function to clear the console screen? I looked at a old program and it was clrscr() but it won''t compile in VC++.NET. Anyone know of any other options?
"Ogun's Laughter Is No Joke!!!" - Ogun Kills On The Right, A Nigerian Poem.
HappyMiel
HappyMiel
system("cls");

Perhaps?
EbonySeraph
EbonySeraph
Arigato-gozaimasu!

Thank you!

I recall that function call now...
"Ogun's Laughter Is No Joke!!!" - Ogun Kills On The Right, A Nigerian Poem.
Crispy
Crispy
I believe there''s a command called clrscr() as well.

Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Sand_Hawk
Sand_Hawk
clrscr() is I believe a compiler specific class/function. Visual C++ doesn''t have it afaik, just the borland.

500: 1x
Sand Hawk

----------------

(Inspired by Pouya)
----------------(Inspired by Pouya)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.