2021年9月3日
摘要: 1 ifstream fin(file); //打开文件流操作 2 string line; 3 int nums_data = 0; 4 while (getline(fin, line)) //整行读取,换行符“\n”区分,遇到文件尾标志eof终止读取 5 { 16 istringstream 阅读全文
posted @ 2021-09-03 17:51 祥祥好帅啊 阅读(304) 评论(0) 推荐(0)