摘要: #include using namespace std;#define Maxsize 100typedef int ElemType;typedef struct{ ElemType data;//数字域 int next;//游标域}StaticList[Maxsize];void CreateList(StaticList L, ElemType a[], int n){ L[0].next=1; for(int i=1;i<=n;i++) { L[i].data=a[i-1]; L[i].next=i+1; } L[n].next=0;}void Display(StaticL 阅读全文
posted @ 2013-10-26 15:35 编程的爬行者 阅读(422) 评论(0) 推荐(0) 编辑