[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppPrintf
Note that std::cout is a type-safe alternative over printf(). See iof for a third-party library that provides printf()-like format specifiers for std::cout and other streams.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppPrintf
(C++) std::printf
Standard function for printing to screen.int main() { const int i = 123; std::printf("i equals: %i",i); }
- include <cstdio>
Note that std::cout is a type-safe alternative over printf(). See iof for a third-party library that provides printf()-like format specifiers for std::cout and other streams.
Conversion specifiers
See specifier.'printf' links
Code links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
