摘要:
#includeusing namespace std;typedef struct LNode { int data; struct LNode *next;}LNode , *LinkList;LNode *p,*q;LinkList H;//求链表的长度int ListLength(LinkL... 阅读全文
摘要:
#include#includeusing namespace std;#define MAX 500 //宏定义方式定义符号常量 比较少用 const int maxlength=500; //const定义常变量 比较常用 typedef struct elemtype{... 阅读全文