Re: <conio.h> and system ("cls")
Re: <conio.h> and system ("cls")
- Subject: Re: <conio.h> and system ("cls")
- From: Pete Yandell <email@hidden>
- Date: Tue, 5 Oct 2004 09:11:44 +1000
What you want is the curses library. Try "man curses" and man
"curs_clear" for more info.
conio.h is, as people have said, a very, very old Windows/DOS thing and
won't work on anything else.
Doing system ("...") just to clear the screen is a very silly waste of
resources.
Pete Yandell
On 05/10/2004, at 2:22 AM, Carl Clayton wrote:
I am new to programming in c++, and I can't seem to get the "include
<conio.h>" header to work on Xcode,
is there an equivalent for this header?
Also how can I clear the screen with Xcode?
I tried system ("cls"), clrscr (), sysem ("clear"), but none of them
work.
thanks,
Carl.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden