line 54求解决
c++吧
全部回复
仅看楼主
level 1
#include "stdafx.h"
#include<fstream>
#include<iostream>
#include<string>
using namespace std;
int main(int argc,char**argv){
ifstream in(argv[1]);
try{
if(!in) throw string(argv[1]);
}catch(string s){
cout<<"Error Opening File "<<s<<"\n";
return 0;
}
for(string s; getline(in, s); cout<<s<<endl );
}
2018年05月30日 15点05分 1
level 1
求大佬帮忙
2018年05月30日 15点05分 2
level 1
有没有大佬帮忙看看哪里出错了
2018年05月30日 15点05分 3
level 1
自顶
2018年05月30日 15点05分 4
level 1
顶
2018年05月31日 05点05分 5
level 11
企鹅465617727,根据难度确定收费[吐舌]
2018年05月31日 08点05分 6
1