Bootstrap

解决c++ ifstream in对象读取文件总多读一次问题

先上源码

#include <iostream>
#include <fstream>
#include "xitong.h"
using namespace std;
int main(int argc, char const *argv[])
{
   
    string a, b, c;
    ifstream in;
    int cnt = 0;
    in.open("C:\\Users\\oyx\\Desktop\\algorithm\
;