Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
include
^~~~~~~
__has_include
Main.cc: In function ‘int main()’:
Main.cc:5:5: error: ‘string’ was not declared in this scope
string s;
^~~~~~
Main.cc:5:5: note: suggested alternative: ‘struct’
string s;
^~~~~~
struct
Main.cc:8:5: error: ‘cin’ was not declared in this scope
cin>>s;
^~~
Main.cc:8:5: note: suggested alternative: ‘main’
cin>>s;
^~~
main
Main.cc:8:10: error: ‘s’ was not declared in this scope
cin>>s;
^
Main.cc:15:3: error: ‘cout’ was not declared in this scope
cout<<"不符合系统要求,请您重新设置";
^~~~
Main.cc:23:13: error: ‘cout’ was not declared in this scope
cout<<"密码设置成功!";
^~~~
Main.cc:25:13: error: ‘cout’ was not declared in this scope
cout<<"不符合系统要求,请您重新设置";
^~~~