fgets ()函数用于从文件流中读取一行或指定个数的字符,其原型为: char * fgets(char * string, ... 用法: fgets(ex, 5, stdin); // 从标准输入流中读取5字节.
確定! 回上一頁