On Wed, 08 Dec 2010 06:06:18 -0500, Nrgyzer <nrgy...@gmail.com> wrote:
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...
Just a note, dmd on windows does not use Microsoft's C library, it uses
Digital Mars'. Therefore, any C functions that are not part of the
platform SDK are not available in D.
To see what DMC supports, look here:
http://www.digitalmars.com/rtl/rtl.html
-Steve