int fgetc(FILE *stream);
char *fgets(char *s, int size, FILE *stream);
int getc(FILE *stream);
int getchar(void);
char *gets(char *s);
int ungetc(int c, FILE *stream);
#include <curses.h>;
int getch(void);作者: BingbingNorth 时间: 2004-03-01 09:34 标题: 干嘛不给用getch(),gets()函数??? getch()是curses库的函数,不是标准输入输出的函数,你别用错了作者: lluct 时间: 2004-03-01 09:34 标题: 干嘛不给用getch(),gets()函数??? gets:
/tmp/cc3SSYvm.o(.text+0x40): In function `main':
: the `gets' function is dangerous and should not be used.作者: carol1980 时间: 2004-03-01 09:43 标题: 干嘛不给用getch(),gets()函数???
原帖由 "lluct" 发表:
gets:
/tmp/cc3SSYvm.o(.text+0x40): In function `main':
: the `gets' function is dangerous and should not be used.