Re: <conio.h> and system ("cls")
Re: <conio.h> and system ("cls")
- Subject: Re: <conio.h> and system ("cls")
- From: Markian Hlynka <email@hidden>
- Date: Mon, 4 Oct 2004 12:11:22 -0600 (MDT)
On Mon, 4 Oct 2004, 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,
conio is an old windows header library, IIRC. Try googling "linux
conio.h". At least, I used that in the past, but it's been years. "OS X
conio.h" might be more pertinent nowadays!
The short answer, however, is that conio is not portable. As was
mentioned, you should look into curses. The long answer is that you'll
probaly be able to find some conio stuff that works on linux and mac.
However, it may lack some of the full functionality of conio.
Markian
_______________________________________________
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