摘要:
1.文件颜色的代表含义 蓝色表示目录 绿色表示可执行文件 红色表示压缩文件 浅蓝色表示链接文件 灰色表示其他文件 红色闪烁表示链接的文件有问题了 黄色表示设备文件,包括block、char、fifo 2.关机/重启 shutdown -h now 立即关机 shutdown -h 5 5分钟后关机 阅读全文
摘要:
抽象类和抽象方法 1.定义 随着继承层次中一个个新子类的定义,类变得越来越具体,而父类则更一般,更通用。 类的设计应该保证父类和子类都能够共享特征。 有时候将一个父类设计的非常抽象,以至于他都没有具体的实例,这样的类叫做抽象类。 优势:不能被实例化 2.abstract修饰类:抽象类 抽象类不能实例 阅读全文
摘要:
#include <iostream> using namespace std; struct Node//定义双向链表,方便降幂输出 { int C; int index; struct Node*prior; struct Node*next; }; void init(struct Node* 阅读全文
摘要:
#include<iostream> using namespace std; #define MaxInt 32767 #define MVNum 100 int i,j,k; typedef struct { char vexs[MVNum];//顶点表 int arcs[MVNum][MVNu 阅读全文
摘要:
#include<iostream.h> #include<stdlib.h> #include<math.h> #define MAXSIZE 20 #define ERROR 0 #define OVERFLOW 0 #define OK 1 typedef int SElemType; typ 阅读全文
摘要:
#include<iostream> using namespace std; typedef struct Node{ char data; struct Node *lchild,*rchi ld; }BTreeNode,*BTree; void InitBT(BTree &BT)//初始化二叉 阅读全文
摘要:
#include<iostream.h> #define null 0; #define OK 1; #define ERROR 0; typedef int Status; typedef struct Node{//定义单链表存储结构 int data; struct Node *next; } 阅读全文
摘要:
#include<iostream.h> #include<stdlib.h> #define max 20 typedef struct{//储存结构 int key; char other; }elemtype; typedef struct{ elemtype *elem; int lengt 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文