运动会管理系统
摘要:#include<iostream>#include<cstring>#include<math.h>#include<stdio.h>#include<algorithm>#define LEN sizeof(struct School)using namespace std;struct xm_item{int item; //项目编号char name[20]; //项目名称int count; //该项目得分人的数量}Xm_item[10];struct Student{char name[20]; //姓名int score
阅读全文
posted @
2013-02-21 17:52
@ 小浩
阅读(692)
推荐(0) 编辑
typedef(备注)
摘要:typedef 不能使用在静态数组的结构体当中!!!!否者会出现错误!!
阅读全文
posted @
2013-02-15 13:28
@ 小浩
阅读(155)
推荐(0) 编辑
旅馆管理系统(静态数组的使用)
摘要:本题是静态数组管理系统,用到了静态数组的知识,废话不多说,看程序吧!哈!#include<iostream>#include<stdio.h>#include<string.h>#include<math.h>#include<algorithm>#define N 10using namespace std;struct Room{ int roomgrade;//房间等级 int roomprice;//房间价格 int roomnumber;//房间门号 char name[20];//旅客姓名 int sex;//旅客性别 0
阅读全文
posted @
2013-02-13 15:31
@ 小浩
阅读(299)
推荐(0) 编辑
线性链表简单应用程序!!!!
摘要:关于现行链表的简单应用!废话不多说!!#include<iostream>using namespace std;struct student{int num;struct student *next;};int main(){struct student *p,*q;q=p=(struct student *)malloc(sizeof(struct student));int m=3;while(m--){cin>>p->num;p->next=(struct student *)malloc(sizeof(struct student));if(m)p
阅读全文
posted @
2013-02-05 16:08
@ 小浩
阅读(278)
推荐(0) 编辑
学生管理系统(线性链表的简单应用)
摘要:说实话,这个程序和教务处管理系统没有什么区别!!!!还是废话不多说!!!请看程序!!!#include<iostream>#include<stdio.h>#include<math.h>#include<string.h>#include<algorithm>using namespace std;#define LEN sizeof(struct student)struct student{ int num;//学号 char name[20];//姓名 double foxscore;//fox成绩 double cscore
阅读全文
posted @
2013-02-05 14:51
@ 小浩
阅读(526)
推荐(0) 编辑