Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

The standard library for C+


May 11, 2021 C++


Table of contents


The standard library for C+

The standard library can be divided into two parts:

  • Standard Library: This library is made up of generic, independent functions that do not belong to any class. The library is inherited from the C language.
  • Object-oriented class library: This library is a collection of classes and their related functions.

The C?standard library contains all the C-standard libraries, which have been added and modified to support type safety.

The standard library of functions

The standard library is divided into the following categories:

  • Input/output I/O
  • String and character processing
  • Mathematical
  • Time, date, and localization
  • Dynamic allocation
  • Other
  • Wide character function

Object-oriented class libraries

The standard C++ object-oriented class library defines a number of classes that support common operations, such as input/output I/O, string processing, and numerical processing. The object-oriented class library contains the following:

  • The standard class of C?I/O
  • String class
  • The numeric class
  • The STL container class
  • STL algorithm
  • The STL function object
  • STL iterator
  • STL allocator
  • Localize the library
  • The exception handling class
  • Miscellaneous support libraries