Description
We need to introduce size_t early in the text. This type is used as the return value for various container length functions (e.g. vector.size()).
Version
cppds2
Motivation and Context
Modern compilers and most importantly the one used by default for activecode are persnickety about signed vs unsigned comparisons. We need to introduce this concept early and show good practice in our examples.
Description
We need to introduce
size_tearly in the text. This type is used as the return value for various container length functions (e.g.vector.size()).Version
cppds2
Motivation and Context
Modern compilers and most importantly the one used by default for activecode are persnickety about signed vs unsigned comparisons. We need to introduce this concept early and show good practice in our examples.