Glossary: Data Structures and Algorithms in C++
std::printf
Also written: printf, %g, %.2f
The C-style print function that takes a format string; %g prints a number plainly and %.2f prints two decimals.
Glossary: Data Structures and Algorithms in C++
Also written: printf, %g, %.2f
The C-style print function that takes a format string; %g prints a number plainly and %.2f prints two decimals.