There's more...

The C++ standard defines an std::size_t type. It is identical to the plain C size_t, except it is defined in the std namespace. Usage of std::size_t is preferable in your C++ code since it is part of the standard, but both std::size_t and size_t are interchangeable.