说明: #include #include #include #include #define max 32 int ifempty=0;//标志,判断链表是无否为空 typedef struct dnode /* 定义双向链表结构体 */ { int number; /* 货物编号 */ char name[max]; /* 货物名称 */ int counter; /* 货物数量 */ struct dnode *prior, *next; /* 定义两指针,分别指向其前驱和后继 */ }dlno
<shillen2011> 上传 | 大小:558kb