Would you like signs with those chars?
Would you like signs with those chars?
Posted Oct 25, 2022 19:27 UTC (Tue) by mm7323 (subscriber, #87386)Parent article: Would you like signs with those chars?
Why not use uint8_t and int8_t when dealing with numeric values or octets, and keep char just for characters and strings?
Posted Oct 25, 2022 20:03 UTC (Tue)
by khim (subscriber, #9252)
[Link]
Because C it not made that way. You still end up dealing with that
Would you like signs with those chars?
uint8_t
and int8_t
are not types, they are type aliases.char
/signed char
/unsigned char
whether you like it or not.