As an indispensable part of the C ++ standard, STL should penetrate into the corners of the C ++ program. STL is not the darling of the lab, nor the decoration on the programmer's desk. Her excitement is not a flash. This tutorial aims to spread and
Document directory
Vector creation and traversal
Vector Deletion
Vector trap
Vector element sorting
Vector search
Suggestions
List Search
List creation and traversal
List element operations
List sorting
Suggestions
Deque iterator
Why
Article 50: familiarize yourself with STL-related websites
The Internet is full of STL information. Search for "STL" using your favorite search engine. It will certainly return several hundred links, some of which may actually be related. However,
Most C + + developers use the standard module library (STL) extensively in their code. If you are one of them and are using the out-of-the-way STL and Visual C + + 6.0 directly, your application is in a highly dangerous state of collapse under low
1. STL Basic IntroductionThe C + + STL (Standard Template Library) is a set of powerful C + + template classes, collectively known as a series of software developed by HP Labs. The purpose of the STL is to standardize the components so that they do
ZC: Here in the video there is a debugging tips, vs08/vs2010 start, the console program will automatically exit (unlike VC6), then you can set a breakpoint on the last sentence of the function exit, and then view the information printed by the
The world of Standard C ++ is quite conservative and streamlined. In this pure world, All executable files are statically linked. No memory ing file or shared memory exists. There is no window system, no network, no database, no process. In this
Directory
Problem
SGI Version Space Configurator-std::alloc
First-level Space Configurator
Second-level Space Configurator
Refill, Chunkalloc functions
Finally, the Simple_alloc interface that the Configurator encapsulates
This section is enclosed in the following, and is summarized by yourself outside the brackets.
/*************************************** **************************************** **************************************** ********************************
STL, the standard Template Library, is a highly efficient C + + library with industrial strength.It is housed in the C + + standard library, which is the newest and most revolutionary part of the Ansi/iso C + + standard. The library contains many
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.