C/C++
The Case Against int, Part 3: The Advantages and Perils of Unsigned Arithmetic
C++ defines an unsigned integer type,size_t
, that is well-suited to storing array indices, or otherwise counting items that can fit in the computer's memory.Related Reading
More Insights
INFO-LINK
To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. | |