C++中头文件stdio.h和stdlib.h区别

作者在 2010-04-07 14:29:38 发布以下内容
stdio.h定义了输出输入函数,如printf,scanf,puts,gets、、、、
 
 
stdlib.h定义了五种类型,一些宏和通用工具函数:
五种类型有size_t、wchar_t、div_t、ldiv_t和lldiv_t;

宏例如EXIT_FAILURE、EXIT_SUCCESS、RAND_MAX和MB_CUR_MAX等等;

常用的函数如malloc()、calloc()、realloc()、free()、system()、atoi()、atol()、rand()、srand()、exit()等等。

鄙之思 | 阅读 1934 次
文章评论,共0条
游客请输入验证码
文章归档