-4
A
回答
0
//包括fstream的和字符串
您的常規ifstream的將竭誠爲您服務好。
string playerName;
int playerScore;
int playerPoints;
openedInFile>>playerName>>playerScore>>playerPoints;
// loop for next row
存儲爲合適。
相關問題
- 1. 將數據從文本文件加載到二維數組中?
- 2. 將數據從文本文件加載到數組中
- 3. 如何從文本文件加載數據到JavaScript數組?
- 4. 從文件加載數組
- 5. 在VB.NET中從VB6數據文件加載一個基於數組的文件?
- 6. 將數據從文件加載到二維數組中
- 7. 從json文件加載數據到extjs
- 8. 從php文件加載數據到iphone
- 9. 從SQL文件加載數據到Realm
- 10. 從COMP3文件加載數據到informatica
- 11. 從文件加載數據到excel
- 12. 問題從一個文本文件加載到一個數組的值
- 13. 加載一個JSON文件到一個數組在javascript
- 14. 可可觸摸 - 加載文本文件到一個數組
- 15. 將數據添加到另一個文件中的PHP數組
- 16. 灰燼JS:從一個組件到另一個數據組件
- 17. 將數據從一個組件傳遞到另一個組件
- 18. 從文件將數據存儲到一個數組
- 19. 從文件中讀取數據到一個關聯數組
- 20. 在數據讀取從文件到一個數組
- 21. 從文檔目錄加載圖像到一個數組
- 22. 從txt文件加載非均勻數據到msql數據庫
- 23. 從excel文件加載數據到MySQL數據庫?
- 24. 如何從Excel文件加載數據到sql數據庫?
- 25. 從Excel文件加載數據並加載到臨時表中
- 26. 從文件到一個數組
- 27. 加載.npy文件加載一個空數組
- 28. 將數據從逗號分隔的文本文件加載到2D數組?
- 29. Android從SQLite數據庫加載數據到下一個活動
- 30. 從文本文件加載數據庫
你可以發佈你到目前爲止的代碼嗎?如果它是'C++',爲什麼'c#'標籤? – hmjd 2012-03-04 22:05:08