intABS(intx );
双精度操作系统(双精度);
双精度输入(双精度;
杜布勒坦(杜布勒克斯;
双面天线2 (双面,双面x );
双作用自动(常数char * s );
双精度(双精度);
双精度操作系统(双精度;
双精度(双精度;
双精度(双精度;
双精度光纤(双精度;
双流体(双流体;
双精度调频(双精度,双精度y );
双精度自由(双精度,int *exponent );
长实验室(longx );
双精度指数(双精度指数,int exponent;
双精度日志(双精度;
双精度日志10 (双精度;
双精度(双精度,双精度* ipart );
双电源(双精度,双精度y );
双精度输入(双精度;
双精度(双精度);
双精度sqrt (双精度;
杜布勒坦(杜布勒克斯;
双坦(双精度);
stdio.h的常见函数如下
intfclose(sxdhystream;
intfflush(sxdhystream;
intfgetc(sxdhystream;
intfgetpos(sxdhystream,fpos_t *pos );
char*fgets(char*s,int n,sxdhystream );
文件* fopen (const char * path,const char *mode );
intfprintf(sxdhystream,const char *format,);
intfputc(intc,sxdhystream;
int fputs (常数char * s,sxdhystream );
size_tfread(void*ptr,size_t size,size_t n,sxdhystream );
file * freopen (常数char * path,常数char * mode,
sxdhystream;
intfscanf(sxdhystream,const char *格式,);
intfseek(sxdhystream,long offset,int whence );
intfsetpos(sxdhystream,const fpos_t *pos );
longftell(sxdhystream;
size_tfwrite(constvoid*ptr,size_t size,size_t n,
sxdhystream;
intprintf (常数char *格式,
intputs (常数char * s );
intrename(constchar*oldname,const char *newname );
voidrewind(sxdhystream;
防毒墙网络版(常数char *格式,
stdlib.h的常见函数如下
stdlib头文件包含c和c语言的函数
定义此文件中包含的c语言标准库函数
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()等等。具体的内容你自己可以打开编译器的include目录里面的stdlib.h头文件看看int abs (int x);
int atexit (atexit_t func);
double atof (const char *s);
int atoi (const char *s);
long atol (const char *s);
void * bsearch(const void *key, const void *base,
size_t nelem, size_t width,
int (*fcmp)());
void * calloc (size_t nitems, size_t size);
div_t div (int numer, int denom);
void exit (int status);
void free (void *block);
char * getenv (const char *name);
long labs (long x);
ldiv_t ldiv (long numer, long denom);
void * malloc (size_t size);
void qsort (void *base, size_t nelem, size_t width,
int (*fcmp)());
int rand (void);
void * realloc(void *block, size_t size);
void srand (unsigned seed);
double strtod (const char *s, char tmdtttendptr);
long strtol (const char *s, char tmdtttendptr, int radix);
unsigned long strtoul (const char *s, char tmdtttendptr, int radix);
int system (const char *command);
max(a,b) (((a) > (b)) ? (a) : (b))
min(a,b) (((a) < (b)) ? (a) : (b))
random(num) (rand() % (num))
randomize() srand((unsigned)time(NULL))
string.h常用函数包括:
char * stpcpy (char *dest, const char *src);
char * strcat (char *dest, const char *src);
char * strchr (const char *s, int c);
int strcmp (const char *s1, const char *s2);
char * strcpy (char *dest, const char *src);
size_t strcspn (const char *s1, const char *s2);
char * strdup (const char *s);
char * strerror(int errnum);
conio.h不是C标准库中的头文愤怒的铃铛
conio是Console Input/Output(控制台输入输出)的简写,其中定义了通过控制台进行数据输入和数据输出的函数,主要是一些用户通过按键盘产生的对应操作,比如getch()函数等等。
包含的函数
cgets(char *);
cprintf(const char *, ...);
cputs(const char *);
cscanf(const char *, ...);
inp(unsigned short);
inpw(unsigned short);
getch(void);
getche(void);
kbhit(void);
outp(unsigned short, int);
outpw(unsigned short, unsigned short);
putch(int);
ungetch(int);
void _Cdecl clreol (void);
void _Cdecl clrscr (void);
void _Cdecl delline (void);
int _Cdecl gettext (int left, int top, int right, int bottom,
void *destin);
void _Cdecl gettextinfo (struct text_info *r);
void _Cdecl gotoxy (int x, int y);
void _Cdecl highvideo (void);
void _Cdecl insline (void);
void _Cdecl lowvideo (void);
int _Cdecl movetext (int left, int top, int right, int bottom,
int destleft, int desttop);
void _Cdecl normvideo (void);
int _Cdecl puttext (int left, int top, int right, int bottom,
void *source);
void _Cdecl textattr (int newattr);
void _Cdecl textbackground (int newcolor);
void _Cdecl textcolor (int newcolor);
void _Cdecl textmode (int newmode);
int _Cdecl wherex (void);
int _Cdecl wherey (void);
void _Cdecl window (int left, int top, int right, int bottom);
har *_Cdecl cgets (char *str);
int _Cdecl cprintf (const char *format, ...);
int _Cdecl cputs (const char *str);
int _Cdecl cscanf (const char *format, ...);
int _Cdecl getch (void);
int _Cdecl getche (void);
char *_Cdecl getpass (const char *prompt);
int _Cdecl kbhit (void);
int _Cdecl putch (int c);
int _Cdecl ungetch (int ch);