About 30 results
Open links in new tab
  1. printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s ...

    The format string consists of ordinary byte characters (except %), which are copied unchanged into the output stream, and conversion specifications. Each conversion specification has the following format: …

  2. std::printf, std::fprintf, std::sprintf, std::snprintf - cppreference.com

    If a call to sprintf or snprintf causes copying to take place between objects that overlap, the behavior is undefined (e.g. sprintf(buf, "%s text", buf);).

  3. Template:cpp/io/c/printf format - cppreference.com

    The format string consists of ordinary byte characters (except %), which are copied unchanged into the output stream, and conversion specifications. Each conversion specification has the following format: …

  4. wprintf, fwprintf, swprintf, wprintf_s, fwprintf_s ... - Reference

    Notes While narrow strings provide snprintf, which makes it possible to determine the required output buffer size, there is no equivalent for wide strings (until snwprintf_s)(since C11), and in order to …

  5. std::printf, std::fprintf, std::sprintf, std::snprintf - cppreference.com

    Loads the data from the given locations, converts them to character string equivalents and writes the results to a variety of sinks.

  6. rint, rintf, rintl, lrint, lrintf, lrintl, llrint, llrintf, llrintl

    4,8,12) Type-generic macros: If arg has type long double, rintl, lrintl, llrintl is called. Otherwise, if arg has integer type or the type double, rint, lrint, llrint ...

  7. std::vprintf, std::vfprintf, std::vsprintf, std::vsnprintf ... - Reference

    The format string consists of ordinary byte characters (except %), which are copied unchanged into the output stream, and conversion specifications. Each conversion specification has the following format: …

  8. Variadic functions - cppreference.com

    Variadic functions are functions (e.g. std::printf) which take a variable number of arguments. To declare a variadic function, an ellipsis appears after the list of parameters, e.g. int printf(const char* …

  9. Variadic functions - cppreference.com

    Variadic functions are functions (e.g. printf) which take a variable number of arguments. The declaration of a variadic function uses an ellipsis as the last parameter, e.g. int printf(const char* format, ...);.

  10. Standard format specification (since C++20) - cppreference.com

    For basic types and string types, the format specification is based on the format specification in Python. The syntax of format specifications is: