- 论坛徽章:
- 0
|
#include <string>;
#include <iostream.h>;
#include <stdio.h>;
#include <complex>;
#include <sstream>;
#include <vector>;
int main()
{
using namespace std;
//文件操作
string FileName;
cout<<"please enter your filename"<<endl;
cin >;>; FileName;
if(FileName.empty())
{
cerr<<"filename is not exixte\n";
return -1;
}
return 0;
}
报错:error C2679: binary '>;>;' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>;,class std::allocator<char>; >;' (or the
re is no acceptable conversion)  |
|