Formatted input specifiers not implemented

Ali Çehreli acehreli at yahoo.com
Tue Jan 31 13:25:19 PST 2012


What is the state of formatted input? There has been changes at some 
point. %x or %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 error for '%x'. (Of course '%s' works but doesn't know octal or 
hexadecimal.)

Is this ever going to be implemented? Should I be using some other method?

Ali


More information about the Digitalmars-d-learn mailing list