Main.cc: In function 'int main()':
Main.cc:5:12: error: expected primary-expression before '=' token
cin >> s; =
^
Main.cc:6:2: error: expected primary-expression before 'for'
for(int i = 0;i < strlen(s);i++){
^
Main.cc:6:16: error: 'i' was not declared in this scope
for(int i = 0;i < strlen(s);i++){
^