摘要:
参考文章: 五种单例模式的写法 https://www.cnblogs.com/smile361/p/6506874.html java枚举enum以及应用:枚举实现单例模式 https://www.cnblogs.com/cielosun/p/6596475.html 阅读全文
摘要:
参考文章: 五种单例模式的写法 https://www.cnblogs.com/smile361/p/6506874.html java枚举enum以及应用:枚举实现单例模式 https://www.cnblogs.com/cielosun/p/6596475.html 阅读全文
摘要:
转载地址:http://www.cnblogs.com/ywqu/archive/2009/12/22/1629426.html 牛人的文章都是完整而有条理性的,这点需要我去学习。 一、时序图简介(Brief introduction) 二、时序图元素(Sequence Diagram Elemen 阅读全文
摘要:
转载地址:http://www.cnblogs.com/kittywei/archive/2013/05/15/3079536.html Uml 关系主要有四大类: 依赖,关联,泛化,实现。 其中 依赖和关联是事物之间语义上的横向关系,泛化和实现是事物之间的纵向关系。 一:依赖 Dependency 阅读全文
摘要:
c代码:// SearchTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "stdio.h"#include "stdlib.h"#define N 10#define MAX -1typedef struct dic{ int m... 阅读全文
摘要:
转载地址http://blog.csdn.net/SJF0115/article/details/8645991树形结构是一类重要的非线性数据结构,其中以树和二叉树最为常用。二叉树是每个结点最多有两个子树的有序树。通常子树的根被称作“左子树”(left subtree)和“右子树”(right su... 阅读全文
摘要:
struct {*elem ,length,size}L init: 申请elem空间,如果申请成功,length=0;size =100 忽略:(SqList L),把声明过的列表用来初始化int insert: elem是首地址,判断elem是否为空,空返回,否则获取elem[length]... 阅读全文
摘要:
参考文章:http://blog.csdn.net/lijuwen/article/details/1353084然后又按照自己的方式敲了一遍,各种错。。。。下面是我的代码:#include "stdafx.h"#include #include using namespace std;typede... 阅读全文
摘要:
#include "stdafx.h"#include using namespace std;typedef int DataType;#define SIZE 100typedef struct{ int i,j; DataType e;}Triple;typedef struct{ Tripl... 阅读全文
摘要:
#include "stdafx.h"#include using namespace std;typedef int DataType;#define MAXSIZE 5typedef struct{ DataType *base; int front; int rear;}CircleQueue... 阅读全文
摘要:
#include "stdafx.h"#include using namespace std;typedef int DataType1;typedef struct qnode{ DataType1 data; struct qnode *next;//在结构体中调用结构体本身,要用qnode,... 阅读全文
|