• 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: 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
References: 
 ><conio.h> and system ("cls") (From: Carl Clayton <email@hidden>)

  • Prev by Date: Re: Dumb include path/groups/folder references problem
  • Next by Date: Custom XCode Syntax Coloring
  • Previous by thread: Re: <conio.h> and system ("cls")
  • Next by thread: Beginner question: Java packages in XCode?
  • Index(es):
    • Date
    • Thread