Welcome to The Guardian Wars Series...In forum form
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

  Standard library

View previous topic View next topic Go down 
AuthorMessage
meodingu

avatar

Posts : 201
Join date : 2010-09-30

PostSubject: Standard library   Tue 11 Jan 2011, 2:24 pm


Standard library

The 1998 ANSI/ISO C++ standard consists of two parts: the core language and the C++ Standard Library; the latter includes most of the Standard Template Library (STL) and a slightly modified version of the C standard library. Many C++ libraries exist which are not part of the standard, and, using linkage specification, libraries can even be written in languages such as C, Fortran, Pascal, or BASIC. Which of these are supported is compiler dependent.

The C++ standard library incorporates the C standard library with some small modifications to make it optimized with the C++ language. Another large part of the C++ library is based on the STL. This provides such useful tools as containers (for example vectors and lists), iterators to provide these containers with array-like access and algorithms to perform operations such as searching and sorting. Furthermore (multi)maps (associative arrays) and (multi)sets are provided, all of which export compatible interfaces. Therefore it is possible, using templates, to write generic algorithms that work with any container or on any sequence defined by iterators. As in C, the features of the library are accessed by using the #include directive to include a standard header. C++ provides 69 standard headers, of which 19 are deprecated.

The STL was originally a third-party library from HP and later SGI, before its incorporation into the C++ standard. The standard does not refer to it as "STL", as it is merely a part of the standard library, but many people still use that term to distinguish it from the rest of the library (input/output streams, internationalization, diagnostics, the C library subset, etc.).

Most C++ compilers provide an implementation of the C++ standard library, including the STL. Compiler-independent implementations of the STL, such as STLPort,[10] also exist. Other projects also produce various custom implementations of the C++ standard library and the STL with various design goals.

best small towns to live in
Rush Concert Tickets
Back to top Go down
View user profile
sangbmt



Posts : 36
Join date : 2011-01-04

PostSubject: Re: Standard library   Wed 12 Jan 2011, 5:26 am


Standard library

The 1998 ANSI/ISO C++ standard consists of two parts: the core language and the C++ Standard Library; the latter includes most of the Standard Template Library (STL) and a slightly modified version of the C standard library. Many C++ libraries exist which are not part of the standard, and, using linkage specification, libraries can even be written in languages such as C, Fortran, Pascal, or BASIC. Which of these are supported is compiler dependent.

The C++ standard library incorporates the C standard library with some small modifications to make it optimized with the C++ language. Another large part of the C++ library is based on the STL. This provides such useful tools as containers (for example vectors and lists), iterators to provide these containers with array-like access and algorithms to perform operations such as searching and sorting. Furthermore (multi)maps (associative arrays) and (multi)sets are provided, all of which export compatible interfaces. Therefore it is possible, using templates, to write generic algorithms that work with any container or on any sequence defined by iterators. As in C, the features of the library are accessed by using the #include directive to include a standard header. C++ provides 69 standard headers, of which 19 are deprecated.

The STL was originally a third-party library from HP and later SGI, before its incorporation into the C++ standard. The standard does not refer to it as "STL", as it is merely a part of the standard library, but many people still use that term to distinguish it from the rest of the library (input/output streams, internationalization, diagnostics, the C library subset, etc.).

Most C++ compilers provide an implementation of the C++ standard library, including the STL. Compiler-independent implementations of the STL, such as STLPort,[10] also exist. Other projects also produce various custom implementations of the C++ standard library and the STL with various design goals.

best small towns to live in
Rush Concert Tickets

diet pill
gillette mach 3
Back to top Go down
View user profile
 
Standard library
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Ottawa Man Accused of Killing His Dad With Crossbow In Toronto Library
» STANDARD AND POORS RATING FOR THE U.S.
» World War 1: Researching Canadian Soldiers and Units of the CEF
» History lessons Peter Carter Ruck. He is contemplating stealing the book from his public library/Blacksmith
» Carter Ruck letter to Bob Parsons CEO GoDaddy.com

Permissions in this forum:You cannot reply to topics in this forum
The Guardian Wars :: Soul Realm :: Moonshine Town-
Jump to: