No output from Stdout
Sclytrack
Sclytrack at pi.be
Mon Mar 17 13:18:55 PDT 2008
void main(){
Locale locale = new Locale;
Stdout("I have lost {} of my birds",20).newline;
Stdout.formatln("I have {:C} birds on the roof",100);
}
I have the following output on your application.
I have lost {} of my birds, 20
I have {unknown format 'C'} birds on the roof
Well if I change the code too.
int main() {
Locale locale = new Locale;
Stdout.formatln("I have lost {} of my birds",20);
Stdout.formatln("I have {} birds on the roof",100);
Stdout.flush;
return 0;
}
I get
I have lost 20 of my birds
I have 100 birds on the roof
http://dsource.org/projects/tango/docs/current/tango.io.Stdout.html
Everything I wrote here probably won't help since it gave you no output and
I'm just being an idiot again.
More information about the Digitalmars-d-learn
mailing list