STL learning materials

Source: Internet
Author: User
Tags comparable

STL getting started Tutorial: Introduction to the standard template library (STL)★★★★★This article uses the list container as an example to introduce the basic content of STL, from the container to the iterator, and then to the common functions. The examples are rich and easy to understand. An entry to STL Article Not to be missed.
STL Practice Guide★★★★★The article started with the basic knowledge of STL and gradually went deep into STL writing. Code Methods, STL code compilation and debugging, namespaces, ANSI/ISO strings in STL, various types of containers, templates, cursors, Algorithm In this article, the author puts forward some suggestions for readers and points out the issues that should be paid attention to when using STL.
30 minutes to master STL★★★★A user translated using STL by karry can quickly browse and learn about STL from 0. It is worth looking.
Introduction to C ++ STL★★This article briefly introduces STL in terms of algorithms, containers, and iterators. Readers can have a simple image of STL.
C ++ STL Easy Guide★★★This tutorial introduces C ++ STL preparation and STL background. It is suitable for beginners who want to have a general understanding of STL.
STL learning Summary★★This article introduces the basic knowledge of STL, provides an overall example and chart description, and finally performs a simple efficiency test.
Getting started with STL★★★This article is suitable for those who want to get started immediately and do not want to pay attention to too many STL trivial details. Program Member. Take list as an example to explain the precautions during use. 2 STL container:
STL string★★★★★One of the STL series is a detailed description of winter, which describes the principle and common use of string in detail, and summarizes the precautions for using string. If you want to have a full understanding of the string, this article is no better.
In-depth study of STL deque containers★★★★★The article thoroughly studies the STD: deque container. This article will discuss how to use deque better than vector in some cases. After reading this article, the reader should be able to understand the different performance of deque and vector in memory allocation and performance in the Process of capacity growth. Writing articles by foreigners is indeed rigorous and worth reading.
Introduction to STL vector containers★★★★★The purpose of this article is to introduce STD: vector, how to properly use their member functions and other operations. This article also discusses the use of conditional functions and function pointers in iterative algorithms, such as remove_if () and for_each. By reading this article, the reader should be able to effectively use the vector container, and should no longer use a dynamic array of the C type. It is also a classic.
Learning STL map and STL set: Data Structure Basics★★★This article lists several basic STL map and STL set questions. By answering these questions, we explain the data structure of STL associated containers, finally, we raised the question about the built-in balanced binary tree library functions and map and set selection in Unix/Linux, and analyzed the advantages of MAP and set. For those who want to learn STL in depth and who want to know the underlying data structure of related containers such as STL map, there is a certain reference value.
Improve memory redistribution using vector in STL★★★This article describes a common situation: When you store data in a cache, you often need to adjust the cache size at runtime to accommodate more data. This article will discuss how to use STL vector for memory redistribution. The principles are detailed and suitable for beginners. 3 STL applications:
Use STL stream to simplify C ++ "thread security" Logging★★★★Stream is a powerful data processing abstraction mechanism that allows you to call generic read/write functions without worrying about where and where data comes from. Using stream, the same code can read data from the console, files, sockets, and other places. STL is generally not thread-safe. This article proposes how to use stream in thread-safe mode.
Use the standard template library STL for file comparison★★★This article discusses how to use the standard template library (STL), Class templates, function templates, and other programming techniques to solve practical problems. This article involves STL collections and vectors, function templates, class templates, constant checks, error handling, and STL file I/O. Writing ini configuration files using STL is a common system configuration method used by technicians. It is cumbersome to read and quickly identify the content in ini files. The powerful feature of STL is its ability to quickly implement sorting, searching, recognition, and other functions. In this article, MAP, String, vector, ifstream, and so on in STL are used to quickly implement the class INIFILE? For INI file recognition ?. INIFILE provides common search functions and complete source code. 4 STL others:
Standard Library: What Can STL Allocator do?★★★★★This article tells you when allocator is not required, when allocator is required, and how to define allocator. Detailed code description is provided. If you want to have a preliminary understanding of Allocator, this article will tell you.
STL sorting (SORT)★★★★★STL encapsulates almost all algorithms in the data structure, from linked list to queue, from vector to stack, to hash to binary tree, from search to sorting, from adding to deleting ...... it can be said that if you understand STL, you will find that you do not have to stick to the algorithm itself, so that you can stand on the shoulders of giants to consider more advanced applications. Sorting algorithms are one of the most widely used algorithms. This article describes in detail the usage and differences of algorithms such as sort partial_sort nth_element partition in STL.
Simplified STL Chinese Version★★★★★It is divided into 50 clauses, each of which has a subject. It introduces STL containers, algorithms, iterators, Allocator, and applications in detail. Through examples, it is easy to understand. However, you need to have some basic knowledge (at least know that vector is a container). different authors translate and Winter also translates several articles. There are a total of 50 articles, each of which is independent of each other. It is strongly recommended.
Thoroughly learn Allocator in STL★★★★Allocator is one of the most mysterious parts of the C ++ language standard library. They are rarely explicitly used, and the standards do not specify when they should be used. This article introduces in detail the usage and features of Allocator in STL. If you have more STL knowledge and want to learn more about STL alloc, this article is no better.
Interview with the father of STL★★★★Alexander Stepanov, the father of STL, received an interview with reporters. This article gives a complete introduction to the history of STL development. Mr. Hou Jie recommended that you read this article in his STL related articles. The original version has a version on sgi stl and a version on portstl. Winter makes a simple arrangement and links the English and Chinese versions of the two versions. For more information, see [[http://stl.winterxy.com/html/41066.html# Alex Stepanov].
Different STL implementation versions★★★This section briefly introduces several STL versions, including Hp stl, P. J. plauger STL, rouge wave STL, stlport, SGI STL Although the article is short, it is worth reading if you want to know the STL version.
Cuj Library: unary predicates in STL★★Several generic algorithms in the standard Runtime Library use The unary predicate ). The example is an algorithm with if, such as count_if (), find_if (), remove_if (), and replace_if (), but there are also algorithms such as partition () [without if. In this column, we will have close contact with unary predicate to see what they may and will never do. (The content is professional, but it seems that the translation is not good enough)
Experience STL in Visual C ++. NET 2005★★★★This article describes in detail the features of stl.net, its advantages, and ample examples, it is worth looking. STL learning resource list★★★★★This article lists the authoritative STL official websites and STL learning websites, and provides typical STL tutorial recommendations and e-book downloads.
C ++ STL (Standard Template Library) Learning Resource list by: winter
STL is favored by more and more programmers with its unique charm. STL completely encapsulates complex data structures, provides rich and flexible program interfaces, and ensures program running efficiency. The list of STL technical articles sorted out last time has been welcomed by many friends. Here we will organize a more comprehensive list of STL learning resources, hoping to help our friends.
STL website
SGI STL★★★★★
Sgi stl is currently the most widely used STL version. This website provides sgi stl source code download, corresponding STL programming help documentation, and some design documents. But for friends who just started learning STL, they can take the second step.
Stlport★★★★★
Stlport STL is comparable to sgi stl. This website provides download of stlport STL source code, online help, and some STL resource lists in English. In C ++ builder, stlport is used.
Dinkumware VC/vc.net stl.net Official Website★★★★
It is also often said that the official website of p.j. STL. If Ms's c ++ development tool is used, this website is indispensable. From vc6 to vc7, STL has achieved a qualitative leap. Within the next five years, all Ms uses the STL version of dinkumware.
Rouge wave STL
★★★
C ++ builder STL versions earlier than windows have a certain reputation, but they are a little behind in terms of performance compared with the previous versions. Currently, STL information cannot be found on the homepage. You can only obtain some information from the support documentation.
Center of STL study (the best STL learning website)★★★★★
Providing STL learning materials in the form of blogs, collecting a large number of STL e-books, technical papers, and application instances, and constantly updating them. It is a good website for beginners and friends who have studied STL in depth.
STL books
(All STL books listed here are available for electronic download ):
The C ++ standard library: a tutorial and reference★★★★★
This is the most classic STL textbook and can be used as a self-study tutorial or reference manual. At present, there is a Chinese version named "C ++ standard library" Hou Jie and Meng Yan translation, Huazhong University of Science and Technology Press. The translation is very good, but the price is too high, more than one hundred. If the English is good, read the English version :).
Valid STL (English version)★★★
Negative STL is a very good book that helps you better understand STL. its author is the author of Objective C ++. If you have a preliminary understanding of STL containers, iterators, algorithms, and functions, and want to better understand STL, objective STL is your best choice.
Valid STL (Chinese Version)★★★★★
The simplified STL Chinese version is translated by Yan Minmin. It is very good and highly recommended. If you want to see the translation by others, you can also view the simplified STL Chinese version ). Each has its own characteristics.
STL Programming Guide (programmer's guide)★★★★★
STL programming guide This ebook brings together sgi stl-related help documents to form a chm format document for easy reference. Use the essential manual for STL programming, which is comparable to the man command on the msdn and Linux/Unix platforms of VC.
STL source code analysis (Hou Jie)★★★★
If you want to fully understand the internal mechanism of STL, if you want to truly master STL, and if you want to learn more programming skills from STL, you must read this book. Unfortunately, only the electronic version of the previous volume can be downloaded, And the next volume cannot be found.
STL Chinese site★★★★★The STL Chinese site is currently the most professional Chinese site for introducing STL. It collects STL technical articles and provides STL e-book downloads. A large number of original articles are worth adding to your favorites. Download other C ++ STL e-books★★★★
It also includes downloading STL e-books of various versions and is being updated one after another, which is recommended.
Technical Articles
Incomplete list of STL technical articles (STL learning User Guide)★★★★★
For winter, sort by different categories and update them.
STL technical article on codeguru.★★★
Codeguru does not need to be introduced. Its articles are also good. All are in English.
STL articles on the codepreject website.★★★★★
Let's look at another classic website. At present, many Chinese technical articles are available in English.
<P> NOTE: For the latest resource list, see the latest C ++ STL (Standard Template Library) Learning Resource list.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.