/in/foo.cc: In function 'int main()':
/in/foo.cc:16:35: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[8]' [-Wformat=]
scanf("%d %s\n",&Line,&Onw);
^
/in/foo.cc:25:45: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[3]' [-Wformat=]
scanf(" %c %s %s\n",&I,&X,&Y);
^
/in/foo.cc:25:45: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[3]' [-Wformat=]
/in/foo.cc:35:38: warning: statement has no effect [-Wunused-value]
if(Err!=2) Var[0]=='n';
~~~~~~^~~~~
/in/foo.cc:58:25: warning: statement has no effect [-Wunused-value]
else Err==1;
~~~^~~