undefined identifier getch()

Nrgyzer nrgyzer at gmail.com
Wed Dec 8 03:06:18 PST 2010


Hey guys,

I'm writing a console based tool for windows. To receive the users input, I
try to use getch() but the compiler always says "Error: undefined identifier
getch". When I use getchar() it compiles successfully, but getchar() doesn't
returns after a single input.

Is there any equivalent version in D for getch?

Thanks & regards...


More information about the Digitalmars-d-learn mailing list