std.stdio.write, writeln, fwrite, fwriteln

Lionello Lunesu lionello at lunesu.remove.com
Thu Dec 28 11:22:43 PST 2006


I forgot to mention:

To test, overwrite the files in dmd/src/phobos/std/ and recompile Phobos.
(follow the instructions from 
http://www.prowiki.org/wiki4d/wiki.cgi?HowTo/CompilePhobos )

Copy the resulting phobos.lib to dmd/lib/, overwriting the phobos.lib that's 
already there.

And an example:

#import std.stdio;
#void main() {
#   writeln("test ", 23, " is %s ", 5.0);
#}

Prints:
test 23 is %s 5

L. 





More information about the Digitalmars-d-announce mailing list