返回列表 發帖

#include<bits/stdc++.h>
using namespace std;

int main()
{
    ifstream ifs;
    ifs.open("read.txt");
    if(!ifs.is_open())
        cout<<"error"<<endl;
    string s;
    int n;
    while(ifs>>s)
    {
        
    }
}

TOP

返回列表