首先,说说这个函数的使用方法。代码如下:char str[10];fgets(str, 10, stdin);//stdin表示从输入流中读入,也可以是其他文件指针。gets(str);scanf("%s", str); ...
確定! 回上一頁