C ++ STL study Note 1: General description
This learning note mainly describes the basic knowledge and system framework of C ++ STL. It is mainly suitable for beginners and has some reference value for understanding STL. The notes are illustrated in images and texts, I hope to help you better understand STL.
Main thread:
1: describes general STL tools, such as pair peer groups and auto_ptr smart pointers.
2: Explains STL standard containers, vector list Duque set map, and so on.
3: Describe the iterator in STL and the iterator adapter.
4: Explain the function imitation in STL, that is, the function object.
5: Explain the STL Algorithm Library, analyze the advantages and disadvantages of various algorithms, and so on.
6: Explain the special containers in STL, that is, the container adapter.
7. Explain the string template class in STL.
8: Describes the stream class in STL.
9: explain other advanced topics in STL, such as international standards and space configurator.
Code Description: all codes are compiled under vc6.0. If some VC versions are too low, you can change the version to vs. All codes are the simplest code to demonstrate usage.
Note: C ++ STL is profound and profound, and no one can guarantee it is good, so if you find that the description is wrong, please point it out or send it to my mailbox 410973378@qq.com. If you do not know anything, you can add QQ to discuss 410973378.
Message: C ++ is an excellent language. c ++ STL is undoubtedly the best and most successful design in the standard library of all languages. Therefore, please be patient and proceed unswervingly.