Conio.h alternative for macOS | SoloLearn: Learn to code for FREE!


Conio.h alternative for macOS

What is the conio.h alternative for macOS ? I use xCode. I want to make a game with my small labyrinth code created by me! I would like to move a letter like G between the lines of my labyrinth.

2/9/2020 5:05:02 PM

Nicola Esu

2 Answers

New Answer


Hi Nicola Esu Just check out the ncurses library.


Conio.h is an old non-standard header usually found in ms-dos compilers. It was generally implimented using a combination of video bios calls and direct screen memory manipulation. This technique was both hardware and operating system specific. The keyboard functions for detecting low level keystrokes were implimented in a similar fashion using a combination of ms-dos interrupts and bios calls. There are no standard functions for doing any of these things.