摘要:
1、判断文件系统磁盘使用量源代码:结果:2.判断输入的学生好坏源代码:结果:3.统计班级成绩源代码: 阅读全文
摘要:
#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<<" ************** 阅读全文
摘要:
#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选择非法,请输入正确的编号.. 阅读全文
摘要:
#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 阅读全文
摘要:
#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 阅读全文