On 3/21/11, Sean Eskapp <[email protected]> wrote:
> == Quote from Andrej Mitrovic ([email protected])'s article
>> Here's something simpler:
>> import std.stdio : writefln;
>> extern(C) int kbhit();
>> extern(C) int getch();
>> void main()
>> {
>>     while(!kbhit())
>>     {
>>         // keep polling
>>         // might use thread.sleep here.
>>     }
>>     writefln("Key hit was %s.", getch());
>> }
>
> What extra linker dependencies does this add?
>

snn.lib

Reply via email to