Enki wrote:

> Ok I am just learning C so I am not sure
> about this but one of the programs that
> I typed up said that the required header file didn't exist
> the file:
> <conio.h>

conio.h is a DOS header.

> the function that requires it 
> getche()
> 
> anyone know which header I would use to getche() or even getch()?

curses provides a getch() function. However, if the program was
written for DOS, you may need to make many other changes to get it to
run on a different OS.

If you are just starting to learn C, you would be better off with a
book that isn't DOS-specific.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to