摘要: #include#includeusing namespace std;int sum;struct LNode{ char data; struct LNode * next;};void f1(LNode *&L){ LNode *s,*r; int n; L=(LNode *)malloc(sizeof(LNode)); cout>n; r=L; for(int i=0;i>s->data; sum++; r->next=s; r=s; } r->next=NULL;}void f2(LNode *&L){ LNode *r=L,*s; wh 阅读全文
posted @ 2014-04-02 12:26 _一千零一夜 阅读(152) 评论(0) 推荐(0) 编辑