Main.cc:5:1: error: 'string' does not name a type
string s1,s2;
^
Main.cc: In function 'int main()':
Main.cc:9:10: error: 's1' was not declared in this scope
cin>>s1>>s2;
^
Main.cc:9:14: error: 's2' was not declared in this scope
cin>>s1>>s2;
^
Main.cc:18:5: error: expected ';' before '}' token
}
^