4 ms·
> stdint.h / inttypes.h Including inttypes also includes stdint. You use stdint where you need the types only, like a header or non-IO module, and use inttype
by suprjami 4y ago
> stdint.h / inttypes.h
Including inttypes also includes stdint.
You use stdint where you need the types only, like a header or non-IO module, and use inttypes where you need the print formatting.
I agree it's a bit weird but that's the way I understand the intended usage.