How to use the stack::top and stack::empty STL functions in Visual C++ (158040)
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 Q158040 Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. SUMMARY The sample code below illustrates how to use the stack::top
and stack::empty STL functions in Visual C++. REFERENCES For more information about stack::top and stack::empty, visit
the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 7/12/2005 |
---|
Keywords: | kbhowto kbcode kbinfo kbSTL kbtemplate KB158040 |
---|
|