C / C ++ header files used

Original Source: https: //blog.csdn.net/thisispan/article/details/7470335

Bored when you can take a look at:

C / C ++ header file list
C
#include <the assert.h> // set insertion point
#include <ctype.h> // character handling
#include <errno.h> // defined error code
#include <float.h> // float process
#include <iso646.h> // operators corresponding to various macros
#include <limits.h> // constants identifying various types of data values most
#include <locale.h> // local definitions of C function
#include <math.h> // defined mathematical function
#include <setjmp.h> // exception handling support
#include <signal.h> // signaling mechanism supporting
#include <stdarg.h> // variable parameter list of supported
#include <stddef.h> // common constant
#include <stdio.h> // define input / output functions
#include <stdlib.h> // definition of miscellaneous functions and memory allocation functions
#include <string.h> // string processing
#include <time.h>// Define a function of time
#include <wchar.h> // wide-character processing, and an input / output
#include <wctype.h> // wide character classification
conventional ++ C
#include <fstream.h> // switch <the fstream>
#include <The iomanip.h> // switch <iomainip>
#include <, iostream.h> / / use <iostream>
#include <strstrea.h> // class is no longer supported, use <sstream> in stringstream
--------------------- -----------
standard ++ C 
#include <algorithm> // the STL
general algorithm
#include <bitset> // STL bit set container
#include <cctype> // character handling
#include <cerrno> // defined error code
#include <cfloat> // float process
#include <ciso646> // operators corresponding to various macros
#include <climits> // constants identifying various types of data values most
#include <clocale> // definition of the localization function
#include <cmath>// definition of a mathematical function
#include <complex> // complex class
#include <csignal> // signaling mechanism supporting
#include <csetjmp> // exception handling support
#include <cstdarg> // support variable parameter list
#include <cstddef> // common constant
#include <cstdio> // define input / output functions
#include <cstdlib> // definition of miscellaneous functions and memory allocation functions
#include <cstring> // string processing
#include <ctime> // definition of a function of time
#include <cwchar> // wide character input process and / output
#include <cwctype> // wide character class
#include <deque> // STL deque container
#include <exception> // exception class
#include <fstream> // file input / output
#include <functional> // STL-defined operator function (instead of the operator)
#include <Limits> // define the various types of data a constant value most
#include <list> // STL linear list container
#include <locale>Specific localization information //
#include <map> // STL map container
#include <memory> // STL memory allocation made by a dispenser
#include <new> // dynamic memory allocation
#include <numeric> // STL common digital operation
#include <iomanip> // parametric input / output
# include <ios> // basic input / output support
#include <iosfwd> // input / output system using the pre-declaration
#include <iostream> // stream input / output
#include <istream> // basic input stream
# include <iterator> // STL iterator
#include <ostream> // output stream substantially
#include <queue> // STL queue container
#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 <typeinfo> // during operation type information
#include <utility> // STL generic template class
#include <valarray> // array containing the operating values of
#include <vector> // STL dynamic array container
-------------- ------------------
the C99 increased portion
#include <complex.h> // plural handling
#include <fenv.h> // floating-point environment
#include <inttypes. h> // integer format conversion
#include <stdbool.h> // boolean context
#include <stdint.h> // int environment
#include <tgmath.h> // common type of mathematical macro
header ctype.h character handling function: this function is used for a single character categories are processed, the test case includes a character class and character conversion
-------------------------- -------------- test whether the character alphanumeric letters isalpha if isalnum
whether a control character iscntrl
whether the digital isdigit
whether the characters (except space) isgraph
whether to display characters (including spaces) isprint
if neither a space, letters and numbers are not printable characters ispunct
whether space isspace
whether capital letters isupper
Whether hexadecimal digits (0-9, AF) characters isxdigit
character case conversion functions toupper converted to uppercase letters
to lowercase letters tolower header area of local.h: This category of functions for manipulating language differences in different countries.
---------------------------------------- area controlled areas set setlocale digital format agreed national inquiry currency, date, and time format conversion localeconv header file math.h math functions: this category is given a variety of math functions, it must be reminded that ANSIC standard data format does not conform to IEEE754 standards, some of the C language compiler but follow an IEEE754 (eg C51 frinklin)
----------------------------------------
anti cosine acos
arcsine asin
arctangent atan
arctangent 2 atan2
cosine cos
sine sin
tangent tan
cosh cosh
hyperbolic sine sinh
hyperbolic tangent tanh
function exp
exponential function frexp decomposition
product of an exponential function fdexp
natural logarithm log
base 10 of log10 logarithmic
floating split function modf
power function pow
square root function sqrt
demand limit closest integer ceil
absolute value fabs
Seeking upper floor near the integer
remainder number fmod
header setjmp.h io.h
this classification function is used to direct jump function code between different substrates.
----------------------------------------
save the calling environment setjmp
recovery environment longjmp call
header signal.h
signal processing: the sorting function handles exceptions that occur during program execution.
----------------------------------------
designation signal handler signal
transmission signal raise
header files stdarg.h
variable process parameters: The class of functions used to implement the number of parameters such as printf, scanf other end of the variable function.
----------------------------------------
variable parameter access macro
variable parameters to start the macro va_start
end va_end macro variable parameter
variable access parameter access macro va_arg macro variable parameter next
header file stdio.h
input and output functions: the classification includes a file for processing, consoles and other input and output devices, various functions to "flow" manner
----------------------------------------
delete files remove
modifications rename the file name
to generate temporary file name tmpfile
To give temporary file path tmpnam
file access a file fclose to close
refreshing buffer fflush
open file fopen
stream pointer to the new file already exists and is connected freopen
set disk buffers setbuf
set disk buffers setvbuf
formatting function input and output
format of the output fprintf
format input fscanf
output format (console) the printf
format input (console) Scanf
output format sprintf buffer to
the format from the input buffer sscanf
formatted output vfprintf
formatted output vprintf
formatted output vsprintf
character input output functions
input fgetc a character
string fgets input
character output fputc
string output fputs
character input (console) getc
character input (console) getchar
string input (console) the gets
character output (console) putc
character output (console) the putchar
string output (control Taiwan) the puts
character output ungetc head of the stream to the
direct input and output
flows directly read fread
flow directly write fwrite
File positioning function
to obtain file location fgetpos
file fseek position
file location setting fsetpos
obtain file location ftell
file position zero remind complex
error handling function
error clear clearerr
end of the file is determined feof
file error detection ferror
get an error string perror
header file stdlib.h
utility functions: this classification gives some functions can not be classified as above, but that the program must be.
----------------------------------------
string conversion function
converts a string to an integer atoi
atol string into a long integer
string into a floating strtod
string into a long integer strtol
unsigned long integer strtoul string into a
pseudo-random sequence generation function
generates a random number rand
disposed random function srand starting value
storage management functions
calloc allocate memory
free memory free
memory allocation malloc
reallocate memory realloc
environmental communication
abort abort the program
to exit the program execution, and clear the environment variable atexit
exit the program execution exit
Getenv environmental parameters read
program hangs, perform a temporary system other program
search and sort binary search tools (data to be sorted) bsearch
Quicksort qsort
integer arithmetic absolute value function abs
obtain division and remainder Deshang div
rectification shaped bottom absolute value labs
seek long integer quotient of the division and the remainder ldiv
multi-byte character function gets the number of bytes of multibyte character mblen
bytes of multi-byte characters obtained mbtowc
multibyte character conversion wctomb
multi-byte character string the operation of multi-byte string into integer array mbstowcs
multi-byte string into a character array mcstowbs
header string.h
string manipulation: this category of functions for the string combined, compared, and other operations
----- -----------------------------------
string copy block copy (destination and source storage region may not overlap) the memcpy
block copy (destination and source storage area may overlap) memmove
string strcpy copies
by copy string length strncpy
string concatenation function strcat string connected
by a connection string length strncat
string comparison function block comparison memcmp
comparison strcmp string
compare strings (for non-English characters) strcoll
Length of string comparison strncmp
Strxfrm Converts a string
of characters and character string search to find memchr
character lookup strchr
string search strcspn
string search strpbrk
string search strspn
search string strstr
string into strtok
miscellaneous function strings provided memset
error string strerror map
request string strlen length
header time.h
date and time functions: this category given time and date handling functions
----------------------------- -----------
time clock operating function to get processor time
to obtain a time difference difftime
set time mktime
give time time
time time conversion functions to obtain ASCII code asctime
obtained ctime string representation of time
to obtain the specified format time strftime
No. gallery category headers
----------------------------------------
1 error handling errno.h
2 character processing ctyphe.
3 area of local.h
4 mathematical functions math.h
The signal processing 5 signal.h
. 6 O stdio.h
. 7 utility programs stdlib.h
. 8 string processing string.h
----------------
Copyright: This is CSDN blogger "THISISPAN" of the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/thisispan/article/details/7470335

Guess you like

Origin www.cnblogs.com/MCSFX/p/12395584.html