下载 >  开发技术 >  C++ > C++reference

C++reference

2009-05-16 上传大小:469KB
C++ 库函数查询 CHM 格式
#, ## manipulate strings 
#define define variables 
#error display an error message 
#if, #ifdef, #ifndef, #else, #elif, #endif conditional operators 
#include insert the contents of another file 
#line set line and file information 
#pragma implementation specific command 
#undef used to undefine variables 
Predefined preprocessor variables miscellaneous preprocessor variables 
abort stops the program 
abs absolute value 
acos arc cosine 
asctime a textual version of the time 
asin arc sine 
assert stops the pr
                            ogram if an expression isn't true 
atan arc tangent 
atan2 arc tangent, using signs to determine quadrants 
atexit sets a function to be called when the program exits 
atof converts a string to a double 
atoi converts a string to an integer 
atol converts a string to a long 
bsearch perform a binary search 
calloc allocates and clears a two-dimensional chunk of memory 
ceil the smallest integer not less than a certain value 
clearerr clears errors 
clock returns the amount of time that the program has been running 
cos cosine 
cosh hyperbolic cosine 
ctime returns a specifically formatted version of the time 
difftime the difference between two times 
div returns the quotient and remainder of a division 
exit stop the program 
exp returns "e" raised to a given power 
fabs absolute value for floating-point numbers 
fclose close a file 
feof true if at the end-of-file 
ferror checks for a file error 
fflush writes the contents of the output buffer 
fgetc get a character from a stream 
fgetpos get the file position indicator 
fgets get a string of characters from a stream 
floor returns the largest integer not greater than a given value 
fmod returns the remainder of a division 
fopen open a file 
fprintf print formatted output to a file 
fputc write a character to a file 
fputs write a string to a file 
fread read from a file 
free returns previously allocated memory to the operating system 
freopen open an existing stream with a different name 
frexp decomposes a number into scientific notation 
fscanf read formatted input from a file 
fseek move to a specific location in a file 
fsetpos move to a specific location in a file 
ftell returns the current file position indicator 
fwrite write to a file 
getc read a character from a file 
getchar read a character from STDIN 
getenv get enviornment information about a variable 
gets read a string from STDIN 
gmtime returns a pointer to the current Greenwich Mean Time 
isalnum true if a character is alphanumeric 
isalpha true if a character is alphabetic 
iscntrl true if a character is a control character 
isdigit true if a character is a digit 
isgraph true if a character is a graphical character 
islower true if a character is lowercase 
isprint true if a character is a printing character 
ispunct true if a character is punctuation 
isspace true if a character is a space character 
isupper true if a character is an uppercase character 
isxdigit true if a character is a hexidecimal character 
labs absolute value for long integers 
ldexp computes a number in scientific notation 
ldiv returns the quotient and remainder of a division, in long integer form 
localtime returns a pointer to the current time 
log natural logarithm 
log10 natural logarithm, in base 10 
longjmp start execution at a certain point in the program 
malloc allocates memory 
memchr searches an array for the first occurance of a character 
memcmp compares two buffers 
memcpy copies one buffer to another 
memmove moves one buffer to another 
memset fills a buffer with a character 
mktime returns the calendar version of a given time 
modf decomposes a number into integer and fractional parts 
perror displays a string version of the current error to STDERR 
pow returns a given number raised to another number 
printf write formatted output to STDOUT 
putc write a character to a stream 
putchar write a character to STDOUT 
puts write a string to STDOUT 
qsort perform a quicksort 
raise send a signal to the program 
rand returns a pseudorandom number 
realloc changes the size of previously allocated memory 
remove erase a file 
rename rename a file 
rewind move the file position indicator to the beginning of a file 
scanf read formatted input from STDIN 
setbuf set the buffer for a specific stream 
setjmp set execution to start at a certain point 
setlocale sets the current locale 
setvbuf set the buffer and size for a specific stream 
signal register a function as a signal handler 
sin sine 
sinh hyperbolic sine 
sprintf write formatted output to a buffer 
sqrt square root 
srand initialize the random number generator 
sscanf read formatted input from a buffer 
strcat concatenates two strings 
strchr finds the first occurance of a character in a string 
strcmp compares two strings 
strcoll compares two strings in accordance to the current locale 
strcpy copies one string to another 
strcspn searches one string for any characters in another 
strerror returns a text version of a given error code 
strftime returns individual elements of the date and time 
strlen returns the length of a given string 
strncat concatenates a certain amount of characters of two strings 
strncmp compares a certain amount of characters of two strings 
strncpy copies a certain amount of characters from one string to another 
strpbrk finds the first location of any character in one string, in another string 
strrchr finds the last occurance of a character in a string 
strspn returns the length of a substring of characters of a string 
strstr finds the first occurance of a substring of characters 
strtod converts a string to a double 
strtok finds the next token in a string 
strtol converts a string to a long 
strtoul converts a string to an unsigned long 
strxfrm converts a substring so that it can be used by string comparison functions 
system perform a system call 
tan tangent 
tanh hyperbolic tangent 
time returns the current calendar time of the system 
tmpfile return a pointer to a temporary file 
tmpnam return a unique filename 
tolower converts a character to lowercase 
toupper converts a character to uppercase 
ungetc puts a character back into a stream 
va_arg use variable length parameter lists 
vprintf, vfprintf, and vsprintf write formatted output with variable argument lists                        
...展开收缩
综合评分:4
开通VIP 立即下载

评论共有10条

zxr957034573 2014-10-16 17:55:08
有这样一份reference其实很方便。
kklga 2014-09-06 00:33:11
英文文档伤不起啊!
jhams 2014-05-27 14:12:03
英文版的,不错啊
 
c++ reference(完全版) http://www.cplusplus.com/ 立即下载
积分/C币:15
c++reference 立即下载
积分/C币:3
C++Reference 立即下载
积分/C币:3
C++reference(C++14) 立即下载
积分/C币:3
C& C++Reference 立即下载
积分/C币:3
C++Reference(库函数) 立即下载
积分/C币:3
c/c++Reference 立即下载
积分/C币:3
cppreference 中文版 2016 c++11 立即下载
积分/C币:5
Cplusplus reference 离线版 2015年6月 立即下载
积分/C币:5
C/C++相关资料(C++Primer C++Reference c语言深度剖析等) 立即下载
积分/C币:3

VIP会员动态

0 1 2
关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
点击完成任务获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

C++reference

会员到期时间: 剩余下载个数: 剩余C币: 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
开通VIP
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载
无法举报自己的资源

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可返还被扣除的积分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: