stdlib.h是什么頭文件 stdlib.h是什么頭文件system

stdlib.h是什么頭文件 stdlib.h是什么頭文件system

stdlib頭文件即standard library標準庫頭文件 。
stdlib.h里面定義了五種類型、一些宏和通用工具函數 。standard library標準庫頭文件的類型例如size_t、wchar_t、p_t、lp_t和llp_t; 宏例如EXIT_FAILURE、EXIT_SUCCESS、RAND_MAX和MB_CUR_MAX等等; 常用的函數如malloc()、calloc()、realloc()、free()、system()、atoi()、atol()、rand()、srand()、exit()等等 。具體的內容可以打開編譯器的include目錄里面的stdlib.h頭文件查看 。
【stdlib.h是什么頭文件 stdlib.h是什么頭文件system】

相關經驗推薦