Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This section will briefly introduce how to use STL with MFC and introduce the Active Template Library (ATL).
The MFC Library is a set of more than 100 classes. All of the classes are tested and optimized, and the MFC Library contains data structure classes similar to STL—such as arrays, lists, and string lists. MFC is quite sufficient when compared to STL, and when it comes down to it, you probably won't come to a point where you have to have STL. When you are using MFC, however, the advantage of a lightweight program is lost, because you must bring along the DLL with distribution. So, what advantage is there in using STL with MFC?