下载APP 随时随地学编程
返回 首页

C语言库函数速查手册

开始阅读
目录

string字符串函数

bcmp
bcopy
bzero
memccpy
memcpy
memchr
memcmp
memicmp
memmove
memset
setmem
movmem
stpcpy
strcpy
strcat
strchr
strcmp
stricmp,strcmpi
stricmp,strcmpi
strcspn
strdup
strlen
strlwr
strupr
strncat
strncmp
strnicmp,strncmpi
strncpy
strpbrk
strrev
strset
strstr
strtok
strnicmp,strncmpi

math数学函数

fabs
abs
acos
asin
atan
atan2
ceil
cos
cosh
exp
floor
fmod
frexp
ldexp
modf
hypot
log
log10
pow
pow10
sin
sinh
sqrt
tan
tanh

system系统函数

clrscr,ClearScreen
TextOut
TextOut,outtextxy
bell
block
cursor
delay
sleep
textmode
get_chi_font
get_eng_font
getkey
getpixel
putpixel
gotoxy,move
line
noidle
gotoxy,move
TextOut,outtextxy
pyfc
rectangle
time
write_chi_font
write_eng_font
DispBCD
clrscr,ClearScreen
SetScrollBar

ctype字符函数

iscntrl
isalnum
isalpha
isascii
isblank
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
toascii
tolower
toupper

alloi动态内存

malloc
calloc
realloc
free

stdio输入输出函数

kbhit
getchar,getch
putchar
printf

stdlib基础库函数

itoa
exit

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }