You are using a node *
inside the very definition of node
, when the node
struct is not defined yet.
(您正在使用一个node *
的非常定义中node
,在node
结构尚未确定。)
You can use: typedef struct node node;
(您可以使用: typedef struct node node;
)
before defining the "real" node struct. (在定义“真实”节点结构之前。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…