摘要:
先来看看以下问题 int count = 0; while (getline(ifs,temp)) { count++; } cout<<count <<endl; // 假设输出count为2 count = 0; // 重置 while (getline(ifs,temp)){count++;} 阅读全文
posted @ 2020-06-17 23:09
黑色spider
阅读(1436)
评论(0)
推荐(0)
浙公网安备 33010602011771号