How to use the vector::size, vector::capacity, and vector::push_back STL functions in Visual C++ (160740)
The information in this article applies to:
- The Standard C++ Library, when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q160740 Note Microsoft Visual C++ NET (2002) supported both the managed code
model that is provided by the .NET Framework and the unmanaged native Windows
code model. The information in this article applies to unmanaged Visual C++
code only. SUMMARY The sample code below illustrates how to use the
vector::size, vector::capacity, and vector::push_back functions.
Modification Type: | Major | Last Reviewed: | 7/15/2005 |
---|
Keywords: | kbhowto kbcode kbinfo kbSTL kbtemplate KB160740 kbAudDeveloper |
---|
|