/in/foo.cc: In function 'int main()':
/in/foo.cc:6:73: warning: format '%s' expects argument of type 'char*', but argument 11 has type 'int*' [-Wformat=]
scanf("%1d-%1d%1d%1d-%1d%1d%1d%1d%1d-%1s",&a,&b,&c,&d,&e,&f,&g,&h,&i,&j);
^
/in/foo.cc:8:29: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(jyw == 10 && char(j) == "X")
^~~
/in/foo.cc:8:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
/in/foo.cc:10:29: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(jyw == 10 && char(j) != "X")
^~~
/in/foo.cc:10:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
/in/foo.cc:12:29: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(jyw != 10 && char(j) == "X")
^~~
/in/foo.cc:12:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
/in/foo.cc:14:29: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(jyw != 10 && char(j) != "X"){
^~~
/in/foo.cc:14:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]