All the c functions have been explained in a userfriendly way and they can be copied and pasted in your c projects. Jun 30, 2010 welcome to another installment of c9 lectures. My personal experience is that the pair, the vector and the map are used more often than the other stl classes, so ill frame my discussion around them. It is a generalized library and so, its components are parameterized. Contents introduction to stl containers iterators algorithms function objects. Find out how to take advantage of this powerful component. Provides functionality to use an abstraction called streams specially designed to perform input and output. The standardtemplatelibrary alexander stepanov menglee hewlett packardlaboratories 1501 page mill road, paloalio, ca 94304 stepanovtehpl. Active template library active template library microsoft has developed the active template library atl to support reuse of existing designs for many of the standard com interfaces. The c standard library is a reference for c programmers to help them in their projects related to system programming. A basic understanding of the c programming language will help you in understanding the c builtin functions.
Containers are objects that contain other objects, e. This site is like a library, you could find million book here by using search box in the header. It is a library of container classes, algorithms, and iterators. Table of contents reference pdf book manual free download. This was standardized by the ansi committee prior to acceptance by the iso c standard c. It provides four components called algorithms, containers, functions, and iterators. If youre looking for a free download links of using the stl. In this article, i present an introductiontutorial on the standard template library, which is the most important section of the standard library.
For information about the standard c library, refer to the documentation that is supplied with the operating system. It means arranging the data in a particular fashion. Finally, though not part of the stl, the standard library includes a string class, which will be covered in this set of tutorials. For example, all the algorithms work on regular pointers. The gnu c library reference manual sandra loosemore with richard m. Iunknown, iclassfactory, idispatch, imarshal activex controls interfaces event notification properties and property pages. Lavavej, microsofts keeper of the stl cloth this means he manages the partnershi. In the following series, learn all about stl from the great stephan t. Containing a full reference to all available standard template library stl features and filled with expert advice, this book will give you the means to use this powerful library more effectively.
Standard template library prepared by sreejith s rahul babu r 2. The standard template library tutorial polytechnique. For some of the c standard library headers of the form xxx. Stallman, roland mcgrath, andrew oram, and ulrich drepper for version 2. Do you need to minimize iterator, pointer, and reference invalidation. These features help you create more efficient, performant, and reusable code. This electronic edition is available only as a pdffile. Iso20allrightsreservedc isoiecjtc1sc22wg21n3690 date. The language reference includes documentation for the preprocessor, compiler intrinsics, and supported assembly. I briefly present the fundamental concepts in the stl, showing code examples to help you understand these concepts.
599 874 1122 1257 813 1451 894 1464 35 1098 1182 987 504 647 1430 1110 816 850 182 136 909 348 1035 884 385 902 17 1477 116 1317 944 169 322 97 569 1319 1146 277 1342 625 919 1391 1016