C89: header

A .C file header

#include <assert.h> // set insertion point

#include <ctype.h> // character handling

#include <errno.h> // defined error code

#include <float.h> // float process

#include <fstream.h> // file input / output

#include <iomanip.h> // parametric input / output

#include <iostream.h> // stream input / output

#include <limits.h> // define the most types of data value of the constant

#include <locale.h> // define localized function

#include <math.h> // defined mathematical function

#include <stdio.h> // define input / output functions

#include <stdlib. h> // definition of miscellaneous functions and memory allocation functions

#include <string.h> // string processing

#include <strstrea.h> // array based on the input / output

// definition of time #include <time.h> function

#include <wchar.h> // wide-character processing and input / output

#include <wctype.h> // wide character classification

 

Two .C ++ header files

#include <algorithm> // STL general algorithm
#include <bitset> // STL bit set container
#include <bits / stdc ++. h > // universal header
#include <cctype> // C character handling
#include <cerrno> // error reporting mechanism of C
#include <clocale>
#include <cmath> // compatible with the C language math library
#include <complex> // complex library
#include <cstdio> // C language input and output tools
#include <cstdlib> // C language universal tool
#include <cstring> // C string
#include <the ctime> //
#include <the deque> // ST deque container
#include <exception> // exception class
#include <fstream> // file input output stream
#include <functional> // STL operational function defined
#include <Limits>
#include <list> // linear list of the STL container
#include <map> // STL map container
#include <iomanip>
#include <ios> // basic input / output support
#include <iosfwd> // Input / output system using the pre-declaration
#include <iostream> // Basic Input Output stream
#include <queue> // STL container queue
# include <set> // STL collection container
#include <sstream> // string-based stream
#include <stack> // STL stack container
#include <stdexcept> // standard exception class
#include <streambuf> // underlying input / output support
#include <string> // string class
#include <utility> // STL generic template class
#include <vector> // STL dynamic array container
#include <cwchar>
#include <cwctype>

 

1.C ++ standard headers

2.C ++ 11 header files

3.C ++ header files compatible with C

<the cassert>

<the cctype>

<cerrno>

<cfenv>

<cfloat>

<cinttypes>

<climits>

<clocale>

<the cmath>
<csetjmp>

<csignal>

<cstdarg>

<the cstddef>

<cstdint>

<cstdio>

<the cstdlib>

<CString >

<the ctime>

<cuchar>

<cwchar>
<cwctype>

unsupported C header file: <stdatomic.h> <stdnoreturn.h> < threads.h>

empty C header file: <complex.h> <tgmath.h >

                  <ccomplex> <ctgmath>

meaningless C header file: <iso646.h> <stdalign.h> < stdbool.h>

                            <ciso646>  <cstdalign>   <cstdbool>

 

Guess you like

Origin www.cnblogs.com/k5bg/p/11112576.html