musgravejw (John Musgrave)
- Login: musgravejw
- Registered on: 02/02/2016
- Last sign in: 02/02/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
02/13/2016
-
04:15 AM Ruby Bug #12035: scanf suspicious results.
- Peter Camilleri wrote:
> I think you're missing the point. Of course %s would seem to work in this case.
> ...
Well, the sets in your string are whitespace delimited, so there is a mismatch between your input string and the format. Yo...
02/12/2016
-
11:48 AM Ruby Bug #12035: scanf suspicious results.
- Peter Camilleri wrote:
> The code: 'a b c'.scanf('%[a] %[b] %[c]')
> ...
I think you want: "a b c".scanf("%s %s %s")