随笔 - 684  文章 - 0  评论 - 156  阅读 - 399万
02 2013 档案
运动会管理系统
摘要:#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) 推荐(0) 编辑
typedef(备注)
摘要:typedef 不能使用在静态数组的结构体当中!!!!否者会出现错误!! 阅读全文
posted @ 2013-02-15 13:28 @ 小浩 阅读(155) 评论(0) 推荐(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) 推荐(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) 推荐(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) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示