In several C++ examples I see a use of the type size_t
where I would have used a simple int
. What’s the difference, and why size_t
should be better?

In several C++ examples I see a use of the type size_t
where I would have used a simple int
. What’s the difference, and why size_t
should be better?