11 2010 档案

摘要:#include<malloc.h>#include<stdio.h>typedef struct node{ int data; struct node *next;}NODE;NODE *create()/*才用后插入方式建立单链表,并返回一个指向链表表头的指针,建立空表*/{ NODE *head,*q,*p; char ch; int a; head=(NODE*)malloc(sizeof(NODE)); q=head; ch='*'; printf("/nInput the list:"); while(ch!=' 阅读全文
posted @ 2010-11-21 13:14 移动应用开发 阅读(114) 评论(0) 推荐(0) 编辑