vprintf function — Writes formatted data
#include <cstdarg>
int vprintf(const char* format, va_list arg)
The vprintf
function is
like printf
, but the values to
print are taken from successive arguments in arg
(obtained by calling va_start(arg
,
param
)
). Use vprintf
to write your own printf
-like function.