0_0_13415390_14268.cpp: In function 'int main()':
0_0_13415390_14268.cpp:40:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(ch==".") a[i][j]=1;
^
0_0_13415390_14268.cpp:41:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(ch=="X") a[i][j]=0;
^
0_0_13415390_14268.cpp:42:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(ch=="S") {sti=i;stj=j;a[i][j]=0;}
^
0_0_13415390_14268.cpp:43:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(ch=="D") a[i][j]=-1;
^
|