看板
[ MacDev ]
討論串[問題] Xcode關於fstream讀文字檔的問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
各位大大好,. 最近開始用Xcode寫C++,想要用ifstream讀一個.txt檔,. 以往在window下都是把該txt檔放在和main.cpp同樣的資料夾下即可讀到。. 我的程式碼如下. #include <iostream>. #include <fstream>. #include <st
(還有500個字)
首頁
上一頁
1
下一頁
尾頁