Re:C++23: The Next C++ Standard
by qalmakka on Wednesday July 12, 2023 @07:34AM
(#36693020)
This. I have corrected uncountable lines of code where people just used "%d" for everything, potentially opening a massive can of worms. `inttypes.h` is what you should be using 99% of the time, but that makes for very ugly format strings, so basically nobody uses that. Otherwise you should cast all of your integer params to (long long int) and use %lld, which sucks.
[ Parent
| on HN ]
There are no comments on this comment yet.