代码回顾:从一个文本文件中读取一行的内容,进行数据处理。

今天在写一个测试用例的时候,须要实现如题的功能:html 1、用ifstream 和getline 来实现。 ios <pre name="code" class="html"> string tmpStr(""); string *a = new string[MAX_LINES]; int index = 0; inFile.open("haha.txt", ios::
相关文章
相关标签/搜索