Main.cc: In function 'int main()':
Main.cc:7:8: error: 's' was not declared in this scope
while(s[i]!='\0'){
^
Main.cc:8:11: error: unable to find character literal operator 'operator""and' with 'char' argument
if(s[i]>'0'and s[i]<='9'){
^
Main.cc:8:18: error: expected ')' before 's'
if(s[i]>'0'and s[i]<='9'){
^