The Microsoft Foundation Class Library contains “array” classes for bytes, words, double words, CString objects, CObject pointers, and void pointers. An array is a dynamically sized grouping of elements that are directly accessible through a zero-based integer subscript. If a new element is inserted into an array, then the elements above the insertion point are moved up. If an element above the current array bound is to be set, then the programmer can specify whether the array is to grow automatically. The subscript ([]) operator can be used to set or retrieve array elements.
When growing is not required, array collection access is just as fast as standard C array access. The added storage overhead is insignificant.