0_0_35893836_12428.cpp: In function 'int main()': 0_0_35893836_12428.cpp:21:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(s[1]=='@') break; ^