void writef( s [, s[, s[...]]] );
|
Formats all arguments per "format strings" and writes them to stdout.
Example:
int main(char[][] args)
{
char[] world = "world";
writef("Hello"," ",world~"! ",1024,'\n');
writef("Hello %s! %d\n",world,1024);
return 0;
}
|
Output:
Hello world! 1024
Hello world! 1024 |
See also:
writefln,
fwritef
|