作者shuian88 (shiuan)
看板C_and_CPP
標題[問題] 用dirent.h讀檔名
時間Wed Apr 6 06:16:05 2016
更新一下問題
我想把dname的字串丟掉files這個vector存起來
但是print出來每次都只有第一行
想問一下有哪裡寫錯嗎?
http://i.imgur.com/1GNCEAb.jpg
http://i.imgur.com/R3ib1nJ.jpg
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.195.73.235
※ 文章網址: https://webptt.com/m.aspx?n=bbs/C_and_CPP/M.1459894568.A.FC8.html
※ 編輯: shuian88 (123.195.73.235), 04/06/2016 06:17:37
※ 編輯: shuian88 (123.195.73.235), 04/06/2016 06:18:23
1F:→ MOONRAKER: 阿都用%s印出了你覺得他是什麼04/06 09:39
※ 編輯: shuian88 (42.72.16.97), 04/06/2016 14:14:35
2F:→ Schottky: 不然你認為 printf() 這樣寫應該印出什麼? 04/06 18:55