[Issue 13486] Streams fail

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 19:14:51 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13486

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
> readf("%d", &num);

You have indicated that you do not want to skip past the whitespace after the
first number.

Instead, try:

readf("%d\n", &num);

If you are not sure whether something is a D bug, you will get a faster reply
on the learn group:

http://forum.dlang.org/group/digitalmars.D.learn

--


More information about the Digitalmars-d-bugs mailing list