第一题:
我这有个指点的,哪位大侠可以帮忙完善下啊?

你先建立一个输入一行字符,之后你就把这写字符逆置,之后这样建立链表
#include LIST_INIT_SIZE
100
#include LISTINCREMENT 10
typedef struct {
ElemType *elem;
int
length;
int
listsize;
}Sqlist;
status IniList_(SqList &L){
L.elem=(ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if(!L.elem) exit(OVERFLOW);
L.length=0;
L.listsize=LIST_INIT_SIZE;
return ok;
}
输出就用输出函数就行了,之后用FREE函数释放