conio

Unresolved inclusion: <conio.h>. Why?

While running a simple c program I receive an Unresolved inclusion: <conio.h> What am I missing? I am using eclipse on fedora 13. Please help me resolve this problem. If I am missing any file or haven't installed anything let me know. Also I am new to fedora. Guide me with proper steps please. Thanks in advance. ...

getch Alternative

As most know getch waits until the user hits a key and then returns the value. Is there a way in order to just check if the user is currently hitting a key? Here is what I'm trying to do: while(1){ char x = getch(); if (x){ //blah } else if(y == true){ //blah } } Any suggestions? ...