0_0_25789807_21741.cpp: In function 'int main()': 0_0_25789807_21741.cpp:50:34: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (s[xx][yy] == "@") tt += d; ^