06 2021 档案
第四次课——6.27
摘要:作业13 头函数:menu.h #pragma once #if!(menu_H) #define menu_h #include <iostream> using namespace std; class calc { private: int a, b, p, m; public: calc()
阅读全文
第三次课——6.20
摘要:作业9 #include <iostream> using namespace std; class CType//基类 { private: int radius; int width; public: CType():radius(16),width(185)//常量用参数列表初始化 { //r
阅读全文
第二次课——6.6
摘要:作业4 #include<iostream> #define PI 3.1415926 using namespace std; class Circle//类名 { private: float Radius; public: Circle(float r);//构造函数,参数用来初始化私有变量
阅读全文
第一次课——5.16
摘要:作业1 #include<iostream>#include<string>#define N 4using namespace std;class student{private: int num; string name; string sex; int age; public: student
阅读全文
第四章 树和二叉树
摘要:二叉链表的类型定义——教材101页 typedef struct btnode { DataType data; struct btnode *lchild,*rchild;//指向左右孩子的指针 } *BinTree; 三叉链表的类型定义——教材102页 typedef struct ttnode
阅读全文
浙公网安备 33010602011771号