討論串[問題] 讀取變動的檔案
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
man fseek. The file positions reported by fgetpos(), ftell(), ftello() may be incorrectfor files that are open in text mode in the case that the file
(還有430個字)
內容預覽:
最近在做一個有關sensor的東西. 需要將一個程式輸出檔案(.DAT)最後一行拿出來做處理. 也就是抓取最後寫進去的資料. 因為這個DAT檔案是一直在寫入的狀態. 請問一下. 那我要讀最後一行的話是不是必須一直重複進行關檔讀檔的動作. 來將更新的檔案再次存進Buffer 再來取出最後一行呢?. 還
(還有58個字)
首頁
上一頁
1
下一頁
尾頁