摘要:
标准C内存函数 1、calloc():分配一个二维储存空间 #include <stdlib.h> Void calloc(size_t num, size_t size); 2、Free():释放已分配空间 #include <stdlib.h> Void free(void *ptr); 3、M 阅读全文
posted @ 2018-06-14 15:11
miracle_sl
阅读(146)
评论(0)
推荐(0)
摘要:
标准C时间和日期函数 1、asctime():时间文本格式 #include <time.h> Char *asctime(const struct tm *ptr); 2、Clock():返回自程序开始运行所经过的时间 #include <time.h> Clock_t clock(void); 阅读全文
posted @ 2018-06-14 10:57
miracle_sl
阅读(186)
评论(0)
推荐(0)
摘要:
标准C Math函数 1、abs():求绝对值 #include <stdlib.h> int abs(int num); 2、acos():求反余弦 #include <math.h> double acos(double arg); 3、asin():求反正弦 #include <math.h> 阅读全文
posted @ 2018-06-14 10:34
miracle_sl
阅读(473)
评论(0)
推荐(0)
浙公网安备 33010602011771号