HOWTO: STL Sample for slice::(length, start, stride) Functions (168186)
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 Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q168186 SUMMARY
The sample code below illustrates how to use the slice::length,
slice::start, slice::stride STL functions in Visual C++.
Note that there are some differences in the implementation of the Standard
C++ Library components in Visual C++ version 4.2 versus later revisions.
The relevant sections of code below compile conditionally based upon the
value of _MSC_VER.
REFERENCES
Visual C++ Books On Line: Visual C++ Books:C/C++:Standard C++ Library
Reference.
(c) Microsoft Corporation 1997, All Rights Reserved.
Contributions by Yeong-Kah Tam, Microsoft Corporation
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbhowto KB168186 |
---|
|