Include Conio.h In Linux – Traditional C Programs

Want to compile programs Using GCC or CC in you’r Linux Machine?

You might face some compilation errors When you include #include<conio.h>

Like:

fatal error: conio.h: No such file or directory compilation terminated.

Solution:

To get the entire working solution in step wise

Like this page and once done the steps appear

Click here to view solution 

About these ads

Posted on January 16, 2011, in Author and tagged , , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink. 8 Comments.

  1. Donot include conio.h at all in your program…if you want a replacement for getch , try scanf instead… conio is not part of standard c library

  2. then wot bot clrscr……wud it execute if we exclude conio.h????

  3. Thanks the steps are working perfectly

  4. Works well!!

  5. used curses.h and its still not working for me on mac os x..what could be the problem?

  6. it’s still a fatal error whenever i used curses.h. what’s the problem? T___T

  7. Hello There. I found your blog the use of msn. That is a really well written article. I’ll make sure to bookmark it and return to learn more of your useful information. Thanks for the post. I will definitely comeback.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: