Single char input in D

Bruno Medeiros daiphoenixNO at SPAMlycos.com
Sat Mar 4 02:17:51 PST 2006


Anders F Björklund wrote:
> Bob W wrote:
> 
>> Tell me any major C compiler NOT featuring getch() or _getch().
>> It simply is a necessity having it as part of a C library. Therefore
>> it is widely available and it does not matter at all whether it is
>> standardized or not.
> 
> Mac OS X only has "getchar"... "getch" is in (the bundled) ncurses.h
> Of course, to use that you need to link to the libncurses.dylib too.
> 
> --anders

That's the same for all gcc everywhere, right?

-- 
Bruno Medeiros - CS/E student
"Certain aspects of D are a pathway to many abilities some consider to 
be... unnatural."



More information about the Digitalmars-d mailing list