讀取文件中的行,并保留換行符使用fgets 函數讀取文件badpoem.txt 的第一行,此函數讀取時包含換行符。 line_in = fgets(fid) % read line including newline ...
確定! 回上一頁