上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 1、fprintf 表头文件 #include<stdio.h> 定义函数 int fprintf(FILE * stream, const char * format,.......); 函数说明 fprintf()会根据参数format 字符串来转换并格式化数据,然后将结果输出到参数stream 阅读全文
posted @ 2019-08-28 23:49 Malphite 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1、ferror 表头文件 #include<stdio.h> 定义函数 int ferror(FILE *stream); 函数说明 ferror()用来检查参数stream 所指定的文件流是否发生了错误情况,如有错误发生则返回非0 值。 返回值 如果文件流有错误发生则返回非0 值。 2、perr 阅读全文
posted @ 2019-08-27 23:32 Malphite 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1、crypt 表头文件 #define _XOPEN_SOURCE #include<unistd.h> 定义函数 char * crypt (const char *key,const char * salt); 函数说明 crypt()将使用Data Encryption Standard ( 阅读全文
posted @ 2019-08-26 22:49 Malphite 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1、abs 表头文件 #include<stdlib.h> 定义函数 int abs (int j) 函数说明 abs () 用来计算参数j的绝对值,然后将结果返回。 返回值 返回参数j的绝对值结果。 2、acos 表头文件 #include <math.h> 定义函数 double acos (d 阅读全文
posted @ 2019-08-25 16:33 Malphite 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1、bcmp 表头文件 #include<string.h> 定义函数 int bcmp ( const void *s1,const void * s2,int n); 函数说明 bcmp()用来比较s1 和s2 所指的内存区间前n 个字节,若参数n为0,则返回0。 返回值 若参数s1 和s2 所 阅读全文
posted @ 2019-08-25 15:40 Malphite 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1、asctime 表头文件 #include<time.h> 定义函数 char * asctime(const struct tm * timeptr); 函数说明 asctime()将参数timeptr 所指的tm结构中的信息转换成真实世界所使用的时间日期表示方法,然后将结果以字符串形态返回。 阅读全文
posted @ 2019-08-24 23:34 Malphite 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1、calloc 表头文件 #include <stdlib.h> 定义函数 void *calloc(size_t nmemb,size_t size); 函数说明 calloc()用来配置nmemb 个相邻的内存单位,每一单位的大小为size,并返回指向第一个元素的指针。这和使用下列的方式效果相 阅读全文
posted @ 2019-08-23 23:48 Malphite 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1、atof 表头文件 #include <stdlib.h> 定义函数 double atof(const char* nptr) 函数说明 atof() 会扫描nptr字符串,跳过前面的空格字符,知道遇上数字或正负号才开始做转换,而再遇到非数字或字符串结束时('\0')才结束转换,并将结果返回。 阅读全文
posted @ 2019-08-22 09:12 Malphite 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1、isalnum 表头文件 #include<ctype.h> 定义函数 int isalnum(int c) 函数说明 检查参数c是否为英文字母或阿拉伯数字,在标准c中相当于使用isalpha(c) || isdigit(c) 返回值 若参数c为字符或数字,则返回TRUE,否则返回NULL 2、 阅读全文
posted @ 2019-08-21 13:34 Malphite 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 一、字符测试 isalnum(测试字符是否为英文字母或数字) isalpha(测试字符是否为英文字母) isascii(测试字符是否为ascii码字符) isblank(测试字符是否为空格字符) iscntrl(测试字符是否为ascii码的控制字符) isdigit(测试字符是否为阿拉伯数字) is 阅读全文
posted @ 2019-08-21 13:19 Malphite 阅读(2219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页