Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::printf is an STL function to write formatted output to std::cout.
std::printf is not typesafe (see example below). For a type-safe alternative, use boost::format instead.
#include <cstdio> |
Screen output:
(x,y) = ( -1, +2) |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.