上一页 1 ··· 139 140 141 142 143 144 145 146 147 ··· 207 下一页

2011年8月3日

对 带头结点的单链表 的操作

摘要: //带头结点的单链表#include<iostream>using namespace std;typedef struct student{ int data; struct student *next;}node;node * creat() //创建单链表{ node *head,*p,*s; int x,cycle=1; head=(node *)malloc(sizeof(node)); p=head; while(cycle) { cout<<"请输入一直不为0的数,输入0则结束"<<endl; cin>>x; i 阅读全文

posted @ 2011-08-03 14:26 原来... 阅读(1050) 评论(1) 推荐(0)

上一页 1 ··· 139 140 141 142 143 144 145 146 147 ··· 207 下一页

导航