Need help understanding exception...
sanjayss via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Feb 20 22:54:16 PST 2016
On Sunday, 21 February 2016 at 06:24:54 UTC, sanjayss wrote:
> On Sunday, 21 February 2016 at 01:06:16 UTC, Ali Çehreli wrote:
>> [...]
>
> Thanks. That helps. I am making the stdin non-blocking (but
> reverting it back before doing the readln()) -- maybe that is
> causing some problems. Will follow this line of reasoning to
> see if I can figure out the problem.
Just doing a "stdin.clearerr()" after switching back from
non-blocking mode helped. Thanks again.
More information about the Digitalmars-d-learn
mailing list