Use the fgets function to read the first line from the file badpoem.txt , which reads the line including the newline character. line_in = fgets(fid) % read line ...
確定! 回上一頁