I apologize for criticizing the way you ask questions, but it's important. Knowing how to ask the right questions is an important tool for a developer.
Eh, criticism isn't something I treat with negativity, thanks for pointing out the flaw I only partially recognize.
Sorry for the "question hopping".
I'd say I got a bit carried away with trying to find a "best" way of string-formatting, and as of C++20, I found it std::format -- That's essentially everything I want and all I need.
I'd say I got a bit carried away with trying to find a "best" way of string-formatting, and as of C++20, I found it std::format -- That's essentially everything I want and all I need.
I tried looking for how to format strings in C++ before, but this never really came up to surface (I use DuckDuckGo). All I get is stringstream and snprintf/printf solutions.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Eh, criticism isn't something I treat with negativity, thanks for pointing out the flaw I only partially recognize.
Sorry for the "question hopping".
I'd say I got a bit carried away with trying to find a "best" way of string-formatting, and as of C++20, I found it
std::format
-- That's essentially everything I want and all I need.I tried looking for how to format strings in C++ before, but this never really came up to surface (I use DuckDuckGo). All I get is
stringstream
andsnprintf
/printf
solutions.