Name

vprintf function — Writes formatted data

Synopsis

#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.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.