foo.c:7:1: error: unknown type name 'bool'; did you mean '_Bool'?
bool panding=0;
^~~~
_Bool
foo.c:28:12: error: unknown type name 'chuanh'; did you mean 'char'?
void hanoi(chuanh chuanr){
^~~~~~
char
foo.c: In function 'main':
foo.c:48:2: error: unknown type name 'chuanh'; use 'struct' keyword to refer to the type
chuanh chuan1;
^~~~~~
struct
foo.c:55:8: error: request for member 'ge' in something not a structure or union
chuan1.ge=zong;
^
foo.c:56:8: error: request for member 'cong' in something not a structure or union
chuan1.cong=1;
^
foo.c:57:8: error: request for member 'jing' in something not a structure or union
chuan1.jing=3;
^
foo.c:58:8: error: request for member 'dao' in something not a structure or union
chuan1.dao=2;
^
foo.c:59:2: warning: implicit declaration of function 'hanoi' [-Wimplicit-function-declaration]
hanoi(chuan1);
^~~~~
foo.c:50:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&zong);
^~~~~~~~~~~~~~~~~
foo.c:52:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&daoo[i]);
^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务