FILE *fopen(“filename”,“mode”):
int fclose(FILE *f):
FILE *freopen(“filename”,“mode”,FILE * f):
int fflush(FILE *f):
fread(*ptr,size,n,FILE* f):
fwrite(*ptr,size,n,FILE* f):
int fgetc/getc(FILE *f):
int fputc/putc(int c, FILE *f)
int fgets(char * s,int n,FILE *f):
int fputs(const char * s,FILE *f):
int unget(int c, FILE *f)
scanf/fscanf/sscanf printf/fprintf/sprintf
long ftell(FILE *f):
int fseek(FILE *f,long offset,int origin):
void rewind(FILE *f)
int fgetpos(FILE *f,*p)
int fsetpos(FILE *f,const *p)
int feof(FILE *f)
int ferror(FILE *f)
int remove(char *filename)
int rename(const char *oldname,const char *newname)
FILE *tmpfile(void)
char * strcpy (char *dest, const char *src);
char * strncpy (char *dest, const char *src,n);
char * strcat (char *dest, const char *src); char * strncat (char *dest, const char *src,n);
int strcmp (const char *s1, const char *s2); int strncmp (const char *s1, const char *s2,n); 比较s1与s2,s1<s2则返回负数,否则返回0;比较前n个字符 char * strchr (const char *s, int c); char * strrchr (const char *s, int c); 返回字符串s中第一次出现字符c的位置指针;返回字符串s中最后一次出现字符c的位置指针(c会转换成char)
void *memcpy(void *s, const void *ct,n)
void *memmove(s,ct,n)同上一函数,只是在对象重叠时仍能正确执行。 void *memset(void *s,int c, n)
int memcmp(cs,ct,n)
void *memchr(cs,c,n)
int abs (int x); long labs (long x); float fabs (float x):
double acos (x); double asin (x); double atan (x); double atan2 (y, x): arctan(y/x) double tan (x); double tanh (x): 双曲正切 double sin (x); double sinh (x); double cos (x); double cosh (x); double pow (x, y);//注意返回值类型为双精度型 double sqrt (x); double ceil (x): 不小于x的最小整型数(向上取整) double floor (x): 不大于x的最大整型数(向下取整) double exp (x); double fabs (x); double log (x): ln(x) double log10 (x); double fmod (x, y): x/y的余数 double ldexp (x, n): x*2^n double modf (x, double *ip): 将x分成整数与小数两部分,返回小数部分,整数部分放在*ip中 double frexp (x, int *exp); 将x分成(0.5,1)之间的一个真分数和一个2的幂数,返回真分数,幂数放在exp中
int rand(void)
void free(*p)
void abort (void)
void exit(int status)
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有