February 01, 2012 State of formatted input | ||||
|---|---|---|---|---|
| ||||
(This question hasn't received an answer at d.D.learn.)
What is the state of formatted input? There has been changes at some point and at least %x and %o don't work anymore:
int i;
int j;
readf(" %o %x", &i, &j);
phobos/std/format.d(2690): Parsing spec 'o' not implemented.
Same for %x. Of course %s works but doesn't know octal or hexadecimal. Is this ever going to be implemented, or is there a different method?
Thank you,
Ali
| ||||
February 02, 2012 Re: State of formatted input | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | iirc the whole formatting/unformatting engine was redone/consolidated. If this used to work, and doesn't now, please open a regression report in bugzilla (and it will probably get fixed before the next release) | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply