Current location - Training Enrollment Network - Mathematics courses - What are the c++ standard library functions?
What are the c++ standard library functions?
C++ standard library function

C++ programs can usually call a large number of functions in the standard c++ library. These functions complete some basic services, such as input and output, and also provide high efficiency for some frequently used operations.

Implementation code. These functions contain a large number of function and class definitions, which help programmers to use the standard c++ library better.

The standard c++ library contains the following contents:

& lt algorithm & gt, & ltbitset & gt,< complex & gt,< dirk & gt,< exception & gt, & ltfstream & gt,< function & gt, & ltios & gt, & ltiosfwd & gt, & ltiostream & gt.

Or>,< restrict & gt,< list & gt,< locale & gt,< map>,< memory & gt, & ltnumeric & gt, & ltostream & gt,< stack.

Ig>, & ltstrstream & gt,< Utilities & gt, & ltvalarray & gt, & ltvactor & gt, & ltcassert & gt, & ltcctype & gt, & ltcerron & gt, & ltcfloat & gt, & ltciso646 >, & ltclimits & gt, & ltclocale & gt, & ltcmath & gt,< Secondary Education Certificate.

Tjmp & gt, & ltcsignal & gt, & ltcstdrag & gt, & ltcstddef & gt, & ltcstdio & gt, & ltcstdlibn & gt, & ltcstring & gt, & ltctime & gt, & ltcwchar & gt, & ltiso646.h & gt

The detailed messages of standard c++ libraries are described in their corresponding header files. The main standard c++ library header files are as follows. Among them, the item 13 is the standard template library (STL), and the one marked with (STL) in front of it is the standard template library.

The< algorithm & gt- (STL) is used to define a large number of templates of commonly used and practical algorithms.

& ltbitset & gt- Template class used to define formal position set.

& ltcassert & gt- Used to execute assertions when the program is executed.

& ltcctype & gt- Used for character classification.

& LTCERNO & gt-Error code for testing library function submission.

& ltcfloat & gt- Used to test floating-point type properties.

& ltcios646 & gt- Used for programming ISO646 variant character sets.

& ltclimits & gt- Used to test integer type attributes.

& ltclocale & gt- Used to adapt programs to different cultural customs.

< cmath >-used to calculate common mathematical functions.

< Complex >-Used to define template classes that support complex algorithms.

& ltcsetjmp & gt- Used to execute non-local goto statements.

& ltcsignal & gt- used to control various abnormal situations.

& ltcstdrag & gt- Function for accessing parameter quantity culture.

& ltcstdarg & gt- Function for accessing the change of the number of parameters.

& ltcstddef & gt- Used to define utility types and macros.

< cstdio >-used to perform input and output.

& ltcstdlib & gt- Different versions that perform the same operation.

& lt string & gt- Used to handle several different string types.

& ltctime & gt- Used to convert between several different time and date formats.

& LTCC WCHAR & gt-Used to handle wide streams and strings.

& LTCC WCType & gt-Used to classify wide characters (wide characters are)

& lt Dirk & gt- (STL) is used to define the template class that implements the bidirectional queue container.

< exception >-used to define several functions that control exception handling.

& ltfstream & gt- used to define several iostream template classes for handling external files.

< functionality >-(STL) is used to define several templates, which will help

& ltiomapip & gt- used to declare iostreams controller with parameters.

< IOs>-used to define the template class used as the base class for a large number of iostreams classes.

& ltiosfwd & gt- used to define iostreams template class (before it needs to be defined)

< iostream >-used to declare iostreams objects that handle standard streams.

& lt stream & gt-template class used to define disjunction operation.

< Iterator >-(STL) is used to define templates and help define and manage iterators.

& lt restriction & gt- Used to test the properties of numeric classes.

< list >-(STL) is used to define the template class that implements the list container.

& lt Locale & gt- Used to define classes and templates that control location-specific behavior in iostreams classes.

The< map & gt-(STL) is used to define template classes that implement related containers.

& ltmemeory & gt-(STL) is used to define templates for allocating and releasing memory to different containers.

& lt numerical & gt-(STL) is used to define the template to realize the actual digital function.

& ltostream & gt-iostreamas is used to define the template class for managing string containers.

& ltqueque & gt-(STL) is used to implement the template class of the queue container.

& ltset & gt-(STL) is used to define a template class and implement an association container with only unique elements.

& ltsstream & gt- the iostreams template class used to define the management string container.

The< stack & gt-(STL) is used to define the template class that implements the stack container.

& ltstedexception & gt-Used to define the class that submits the exception.

< streambuf >-template class used to define buffer allocation for iostreams operations.

& lt string & gt- used to define the template class that implements the string container.

& ltstrstream & gt- used to define iostreams classes that handle non-memory (in-memory) character sequences.

The< utility & gt-(STL) is used to define templates for commonly used tools.

& ltvalarray & gt- Used to define classes and template classes that support value-oriented arrays.

& ltvector & gt-(STL) is used to define the template class that implements the vector container.

The standard c++ library also includes the 18 header file in the standard C library, but some of them have been changed. Let's not discuss it for the time being. These header files are:

& ltassert.h & gt- Used to execute assertions when the program is running.

& ltctype.h & gt- Used for character classification.

& lt Error Number & gt- Error code used to test library function submission.

& ltfloat.h & gt- Used to test floating-point type properties.

< IOS646.h & gt-used for programming in the ios646 variant character set.

& lt restriction.>- Used to test integer type attributes.

& ltlocale.h & gt-used to adapt to different cultural customs.

& ltmath.h & gt- Used to calculate common mathematical functions.

& ltsetjmp.h & gt- Used to execute non-local goto statements.

< signal.h & gt-used to control various abnormal situations.

& ltstdrag.h & gt- Function for accessing the change of parameter number.

& ltstddef.h & gt- Used to define types and macros.

& ltstdio.h & gt- Used to perform input and output.

& ltstdlib.h & gt- Used to perform various operations.

< string.h & gt-used to process strings.

& lttime.h & gt- Used to convert between different time and date formats.

& ltwcchar.h & gt- Used to handle wide streams and character classes.

< wctype.h & gt-Used to classify wide characters.

Original address:/wh0826/article/details/5380634

Classification: c &;; C++