|
|
|
|
|
by quietbritishjim
1781 days ago
|
|
The modern C++ way of formatting strings is with std::format, or the external fmt library. It's faster than printf (and certainly streams!) while having convenient format strings (unlike streams) and optional compile time format parsing, combined with c++ type safety. |
|