News for hackers. Stuff that matters.
Re:strcpy: A niche function you don't need by quietbritishjim on Saturday July 31, 2021 @12:11PM (#28019371)
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.
Re:strcpy: A niche function you don't need by pjmlp on Saturday July 31, 2021 @12:51PM (#28019750)
Everyone complains about streams, yet since Turbo C++ 1.0 for MS-DOS they have served me well for the kinds of applications I delivered into production with C++.