/in/foo.cc: In function 'int win()':
/in/foo.cc:43:6: warning: unused variable 'i' [-Wunused-variable]
int i,j,m;
^
/in/foo.cc:43:8: warning: unused variable 'j' [-Wunused-variable]
int i,j,m;
^
/in/foo.cc: In function 'int judge()':
/in/foo.cc:52:6: warning: unused variable 'i' [-Wunused-variable]
int i,j;
^
/in/foo.cc:52:8: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
/in/foo.cc:54:6: warning: unused variable 'w' [-Wunused-variable]
int w=8;
^
/in/foo.cc: At global scope:
/in/foo.cc:65:18: error: 'clock' does not name a type
void print(const clock tp,int x)
^~~~~
/in/foo.cc: In function 'void print(int, int)':
/in/foo.cc:69:40: error: request for member 'map' in 'tp', which is of non-class type 'const int'
for(int i=1;i<=9;i++) printf("%d ",tp.map[i]);
^~~
/in/foo.cc:70:42: error: request for member 'father' in 'tp', which is of non-class type 'const int'
printf("\nfather=%d step=%d no=%d\n",tp.father,tp.step,tp.no);
^~~~~~
/in/foo.cc:70:52: error: request for member 'step' in 'tp', which is of non-class type 'const int'
printf("\nfather=%d step=%d no=%d\n",tp.father,tp.step,tp.no);
^~~~
/in/foo.cc:70:60: error: request for member 'no' in 'tp', which is of non-class type 'const int'
printf("\nfather=%d step=%d no=%d\n",tp.father,tp.step,tp.no);
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:121:8: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^