0_0_37595433_20136.cpp:23:3: error: expected unqualified-id before 'for'
for(int l=0;l<n-1;++l)
^
0_0_37595433_20136.cpp:23:15: error: 'l' does not name a type
for(int l=0;l<n-1;++l)
^
0_0_37595433_20136.cpp:23:21: error: expected unqualified-id before '++' token
for(int l=0;l<n-1;++l)
^
0_0_37595433_20136.cpp:25:3: error: 'cout' does not name a type
cout<<str[n-1]<<endl;
^
0_0_37595433_20136.cpp:26:2: error: expected declaration before '}' token
}
^
|