Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: How to import conio.h library xCode ?

Hello I'm using xCode compiler , but there isn't conio.h library. How can I add this library xCode ?

MacBook Pro (15-inch, 2017), macOS High Sierra (10.13.4)

Posted on

Reply

May 28, 2018 4:32 AM in response to yigitozes In response to yigitozes

It's because you are not on a PC attempting to develop DOS console applications, where the conio.h header is used.


The conio.h header file is not part of any C/ISO/POSIX C standard library. On UNIX machines, or Linux, you use the ncurses library and ncurses.h header for building interactive applications that can run in a Terminal window. Google: ncurses examples.

May 28, 2018 4:32 AM

Reply Helpful
User profile for user: yigitozes

Question: How to import conio.h library xCode ?