• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: <conio.h> and system ("cls")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: <conio.h> and system ("cls")
      • From: Eric Dahlman <email@hidden>
References: 
 ><conio.h> and system ("cls") (From: Carl Clayton <email@hidden>)

  • Prev by Date: Re: <conio.h> and system ("cls")
  • Next by Date: Re: <conio.h> and system ("cls")
  • Previous by thread: Re: <conio.h> and system ("cls")
  • Next by thread: Re: <conio.h> and system ("cls")
  • Index(es):
    • Date
    • Thread