C++ Reference

C++ Reference

C++ Reference是指一個對象(object),可以用來間接指向另一個對象。一個reference的聲明與指針的聲明的實質語法結構是相同的。不同的是,聲明指針(pointer)的時候使用星號操作符 * , 而聲明reference的時候使用地址操作符 & 。

標準庫簡介,庫,標準程式庫,雜項庫,標準模板庫,輸入輸出流庫,

標準庫簡介

The standard C++ library is a collection of functions, constants, classes, objects and templates that extends the C++ language providing basic functionality to perform several tasks, like classes to interact with the operating system, data containers, manipulators to operate with them and algorithms commonly needed.
The declarations of the different elements provided by the library are split in several headers that shall be included in the code in order to have access to its components:
csetjmp
fstream
stdexcept
cassert
csignal
strstream
cctype
cstdarg
streambuf
cerrno
cstddef
cfloat
iosfwd
typeinfo
ciso646
climits
istream
valarray
clocale
sstream
It can be divided into:

The elements of the C language library are also included as a subset of the C++ Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions:
cassert
C Diagnostics Library (header)
cctype
Character handling functions (header)
cerrno
C Errors (header)
cfloat
Characteristics of floating-point types (header)
ciso646
ISO 646 Alternative operator spellings (header)
climits
Sizes of integral types (header)
clocale
C localization library (header)
C numerics library (header)
csetjmp
Non local jumps (header)
csignal
C library to handle signals (header)
cstdarg
Variable arguments handling (header)
cstddef
C Standard definitions (header)
C library to perform Input/Output operations (header)
C Standard General Utilities Library (header)
C Strings (header)
C Time Library (header)

標準程式庫

雜項庫

Language support library
Numeric limits (header)
Dynamic memory (header)
typeinfo
Type information (header)
Standard exception class (class)
Diagnostics library
stdexcept
Exception classes (header)
General utilities library
Utility components (header)
Function objects (header)
Memory elements (header)
Strings library
C++ Strings library (library)
Localization library
Localization library (header)

標準模板庫

Containers library
Vector (class template)
List (class template)
Double ended queue (class template)
FIFO queue (class template)
Priority queue (class template)
LIFO stack (class template)
Map (class template)
Multiple-key map (class template)
Set (class template)
multiset
Multiple-key set (class template)
Bitset (class template)
Iterators library
Iterator definitions (header)
Algorithms library
Standard Template Library: Algorithms (library)
Numeric library
Complex numbers library (header)
valarray
Library for arrays of numeric values (header)
Generalized numeric operations (header)

輸入輸出流庫

Provides functionality to use an abstraction called streams specially designed to perform input and output operations on sequences of character, like files or strings.
This functionality is provided through several related classes, as shown in the following relationship map, with the corresponding header file names on top:
Input/Output Stream LibraryInput/Output Stream Library
For more info see the reference page for the C++ Input/Output Library.

相關詞條

熱門詞條

聯絡我們