教务处管理系统(数据结构的简单应用)
摘要:简单的数据结构应用,不多说,看程序!!!哈!!!希望对你能有帮助!!!#include<stdio.h>#include<iostream>#include<stdlib.h>#include<malloc.h>#include<algorithm>using namespace std;#define LEN sizeof(struct Worker)struct Worker{char name[20];//姓名!char department[20];//单位char sex;//性别!int age;//年龄!long tel
阅读全文
posted @
2013-01-25 21:06
@ 小浩
阅读(1773)
推荐(0) 编辑
数据链式存储结构的简单应用 例子
摘要:数据结构中链式栈的简单应用例子:(亲供参考)#include<iostream>#include<math.h>#include<stdio.h>using namespace std;struct Student{int data;struct Student *next;};int main(){ struct Student *head,*p; head=p=(struct Student *)malloc(sizeof(struct Student)); p->next=NULL; int n; printf("请输入你要输入数据的个
阅读全文
posted @
2013-01-25 13:29
@ 小浩
阅读(670)
推荐(0) 编辑