/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: error: 'X' was not declared in this scope
if(jyw == 10 && char(j) == X)
^
/in/foo.cc:10:29: error: 'X' was not declared in this scope
if(jyw == 10 && char(j) != X)
^
/in/foo.cc:12:29: error: 'X' was not declared in this scope
if(jyw != 10 && char(j) == X)
^
/in/foo.cc:14:29: error: 'X' was not declared in this scope
if(jyw != 10 && char(j) != X){
^