[轉錄]Re: [問題]急問讀.txt文件檔!!!

看板NTUEE-Lab530作者 (haha)時間20年前 (2005/11/21 00:31), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
※ [本文轉錄自 C_and_CPP 看板] 作者: theaky (等待的季節..) 看板: C_and_CPP 標題: Re: [問題]急問讀.txt文件檔!!! 時間: Sat Nov 19 00:10:31 2005 解決方法有很多種 相關的library可以參考 http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ for c, 參考一下fgets 跟strtok這兩個function strtok 的範例可以參考這個網站 http://www.opengroup.org/onlinepubs/009695399/functions/strtok.html 如果是c++的話 http://www.cplusplus.com/doc/tutorial/files.html 裡面有提供一些讀檔的方式 之後都是對string做處理的動作 -- 有空多找ㄧ下google.. 裡面有很多資源..:P -- http://www.wretch.cc/album/theaky -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.172.16.7

11/19 00:13,
不過都是link...要慢慢點了Orz
11/19 00:13
-- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.230.122.70

11/21 09:31, , 1F
好乖
11/21 09:31, 1F
文章代碼(AID): #13WAJ901 (NTUEE-Lab530)