D Documentation  
writef
void writef( s [, s[, s[...]]] );

Formats all arguments per "format strings" and writes them to stdout.

Example:
// Main function
int main(char[][] args)
{
  char[] world = "world";
  writef("Hello"," ",world~"! ",1024,'\n');
  // Alternate method.
  writef("Hello %s! %d\n",world,1024);
  return 0;
}

Output:
Hello world! 1024
Hello world! 1024

See also:
writefln, fwritef
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.