I was wondering if there are any side-effects defining uint
.
typedef unsigned int uint;
Reading code like that is pain in the neck.
If you want to save some typing then use unsigned
. That's shorthand for an unsigned int
and is standard C. Standard C is readable C.
If you are attempting to standardise the sizes and ranges of integral types, then use the ones in <stdint.h>
instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With