1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > c语言 stdlib.h C语言中的#includestdlib.h是什么意思

c语言 stdlib.h C语言中的#includestdlib.h是什么意思

时间:2022-05-27 21:02:37

相关推荐

c语言 stdlib.h C语言中的#includestdlib.h是什么意思

满意答案

alin0411

.07.03

采纳率:47%等级:13

已帮助:7472人

是C语言中的一个头文件,首先,stdlib.h的解释

*Purpose:

* This include file contains the function declarations for commonly

* used library functions which either don't fit somewhere else, or,

* cannot be declared in the normal place for other reasons.

意思是一些常用的函数,但是又不知道把它们放到哪里合适,因此就都放到了stdlib.h这个头文件中。

stdlib.h可以提供一些函数与符号常量,具体如下:

根据ISO标准,stdlib.h提供以下类型:

size_t, wchar_t, div_t, ldiv_t, lldiv_t

常量

NULL, EXIT_FAILURE, EXIT_SUCESS, RAND_MAX, MB_CUR_MAX

函数

atof, atoi, atol, strtod, strtof, strtols, strtol, strtoll, strtoul, strtoull, rand, srand, callc, free, maloc, realloc, abort, atexit, exit, getenv, system, bsearch, qsort, abs, div, labs, ldiv, llabs, tlldiv, mblen, mbtowc, wctomb, mbstowcs, wcstombs

20分享举报

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。