2 ms·
> No mention of printf and scanf. Printf is annoying because of the PRIu32 macros in case you want to print uint32_t in a portable way. How about conversion spe
by skissane 4y ago
> No mention of printf and scanf. Printf is annoying because of the PRIu32 macros in case you want to print uint32_t in a portable way. How about conversion specifiers for the stdints.. %u32 %d32 or whatever.
C23 fixes this - it introduces %w32d as a replacement for PRId32, %w64d to replace PRId64, %w64u, etc.