- _CRTIMP size_t __cdecl fwrite(const void *, size_t, size_t, FILE *);
- _CRTIMP int __cdecl getc(FILE *);
- _CRTIMP int __cdecl getchar(void);
- _CRTIMP int __cdecl _getmaxstdio(void);
- _CRTIMP char * __cdecl gets(char *);
- _CRTIMP int __cdecl _getw(FILE *);
- _CRTIMP void __cdecl perror(const char *);
- _CRTIMP int __cdecl _pclose(FILE *);
- _CRTIMP FILE * __cdecl _popen(const char *, const char *);
- _CRTIMP int __cdecl printf(const char *, ...);
- _CRTIMP int __cdecl putc(int, FILE *);
- _CRTIMP int __cdecl putchar(int);
- _CRTIMP int __cdecl puts(const char *);
复制代码
看了一下stdio.h的源码,可以看到 stdio.h函数就是提供输入输出函数的声明的,如果不包含的话,是不能使用诸如printf和scanf这样的输入输出函数的。 |