2 ms·
I think that <stdint.h> is a C99 feature worth using -- otherwise each project has to redefine eg. myuint32_t over and over again. Colossal waste of effort and
by haberman 15y ago
I think that <stdint.h> is a C99 feature worth using -- otherwise each project has to redefine eg. myuint32_t over and over again. Colossal waste of effort and namespace pollution.
- TheNewAndy 15y agoMost of the time you don't actually care about the exact size of your integer types (especially for signed integers). At work, we use C90 with a few C99 extensions which can be disabled through the preprocessor (e.g. inline, restrict) and although we stared out with a stdint.h like thing, it is proving to be less useful.
- frou_dh 15y agoDefinitely. That's comfort for the existence of "long long"!