请问结构的成员可不可以是结构?
typedef struct node{
int data;
struct node *next;
}Node;
typedef struct pathinfo(
struct node** pathSor;
struct node** pathDes;
int sorLength;
int desLength;
)PathInfo;
为什么不能编译呢?
[解决办法]
typedef struct pathinfo{
struct node** pathSor;
struct node** pathDes;
int sorLength;
int desLength;
}PathInfo;