函式原型: char * fgets(char *buf, int n, FILE *fp). 每當執行結束後,file指標會一直+1直到遇到'\n' 就停止,原因是因為換行符號為'\n' Example:.
確定! 回上一頁