arronliao

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年7月12日

摘要: 1、判断文件系统磁盘使用量源代码:结果:2.判断输入的学生好坏源代码:结果:3.统计班级成绩源代码: 阅读全文
posted @ 2012-07-12 12:19 arronliao 阅读(220) 评论(0) 推荐(0) 编辑

摘要: #include<iostream.h>#include<string.h>#define Maxsize 100//顺序表的最大长度#define MAXNUM 100int num=0;typedef struct{ int num; //学号 char name[10];// 姓名}Student;Student student[Maxsize];char re_choose[]={"\n选择非法,请输入正确的编号...\n"};void Menu_name() //作者信息{ cout<<" ************** 阅读全文
posted @ 2012-07-12 12:08 arronliao 阅读(465) 评论(0) 推荐(0) 编辑

摘要: #include <iostream.h>#include <string.h>typedef struct{//定义Student结构类型,即传说中的EType int num; char name[10];}Student;Student student[100];//定义一个student数组typedef struct TreeNode//二叉树结点{ Student data; TreeNode *LChild; TreeNode *RChild;}BinaryTreeNode;char re_choose[]={"\n选择非法,请输入正确的编号.. 阅读全文
posted @ 2012-07-12 12:03 arronliao 阅读(609) 评论(0) 推荐(0) 编辑

摘要: #include "iostream.h"#include "string.h"#define maxstacksize 100typedef struct{//the struct of the Student char name[20]; int num;}Student;Student student[100];typedef struct TreeNode{//define the structure of the chain binary chain table Student data; TreeNode *LChild; TreeNode 阅读全文
posted @ 2012-07-12 12:00 arronliao 阅读(309) 评论(0) 推荐(0) 编辑

摘要: #include "iostream.h"#include "string.h"typedef struct{ char name[20]; int num;}Student;typedef struct DoubleNode{ Student data; DoubleNode *plink; DoubleNode *nlink;}DoubleNode;typedef struct DoubleChainList{ Student data; DoubleNode *first;}DoubleChainList;int insert(DoubleChai 阅读全文
posted @ 2012-07-12 11:56 arronliao 阅读(257) 评论(0) 推荐(0) 编辑