conio.c and getch() conflict?

Hi,

I use DevC++ 4. When i don't include conio.c when compiling a program, getch() gets the character at the instant i press a particular key. But if i include conio.c, then getch() only works if i press enter after pressing a particular key. Why's that? How can i fix this.

I don't know about Dev, but under Borland's conio.h, getch() works with no buffering -- a character is accepted everytime you press it. Maybe Dev's getch() conio.c sets everything to line buffering -- everything is accepeted only after the carriage return/line feed character is read (from the Enter key).