ostream
These methods write on an ostream (you may also use the operator << ; see Operators and Default Streams).
ostream , beginning at the pointer string.
string may have any of these types: char* , unsigned char* , signed char* .
fprintf(file, format, ...) .
format is a printf -style format control string, which is used to format the (variable number of) arguments, printing the result on this ostream . See ostream::vform for a version that uses an argument list rather than a variable number of arguments.
vfprintf(file, format, args) .
format is a printf -style format control string, which is used to format the argument list args, printing the result on this ostream . See ostream::form for a version that uses a variable number of arguments rather than an argument list.