Some of the samples rely on MFC collection classes in the course of illustrating other MFC features. The COLLECT sample is specifically designed to illustrate the MFC collection classes, including the C++ template-based collection classes.
See Also
Microsoft Foundation Class Library Samples Index