![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 阿誠 ![]()
![]() |
1樓 |
用 std::getline() (http://www.cplusplus.com/reference/string/string/getline/) 就可以一行一行的讀入.
用 loop 來控制你要讀的行數. 讀入後, 用 std::string::find(',') (http://www.cplusplus.com/reference/string/string/find/) 配合 loop 來找第幾列的資料.
本篇文章回覆於2017-01-05 08:20
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
回覆 |
如要回應,請先登入. |