waiwai4701

没有背后的一直努力,你的以为的隐忍不是隐忍,是懦弱。

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

2019年7月28日

摘要: 参考文章: 五种单例模式的写法 https://www.cnblogs.com/smile361/p/6506874.html java枚举enum以及应用:枚举实现单例模式 https://www.cnblogs.com/cielosun/p/6596475.html 阅读全文
posted @ 2019-07-28 00:19 waiwai4701 阅读(210) 评论(0) 推荐(0) 编辑

2016年11月17日

摘要: 转载地址:http://www.cnblogs.com/ywqu/archive/2009/12/22/1629426.html 牛人的文章都是完整而有条理性的,这点需要我去学习。 一、时序图简介(Brief introduction) 二、时序图元素(Sequence Diagram Elemen 阅读全文
posted @ 2016-11-17 03:37 waiwai4701 阅读(177) 评论(0) 推荐(0) 编辑

2016年11月15日

摘要: 转载地址:http://www.cnblogs.com/kittywei/archive/2013/05/15/3079536.html Uml 关系主要有四大类: 依赖,关联,泛化,实现。 其中 依赖和关联是事物之间语义上的横向关系,泛化和实现是事物之间的纵向关系。 一:依赖 Dependency 阅读全文
posted @ 2016-11-15 08:00 waiwai4701 阅读(405) 评论(0) 推荐(0) 编辑

2015年2月27日

摘要: c代码:// SearchTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "stdio.h"#include "stdlib.h"#define N 10#define MAX -1typedef struct dic{ int m... 阅读全文
posted @ 2015-02-27 10:33 waiwai4701 阅读(144) 评论(0) 推荐(0) 编辑

2015年1月26日

摘要: 转载地址http://blog.csdn.net/SJF0115/article/details/8645991树形结构是一类重要的非线性数据结构,其中以树和二叉树最为常用。二叉树是每个结点最多有两个子树的有序树。通常子树的根被称作“左子树”(left subtree)和“右子树”(right su... 阅读全文
posted @ 2015-01-26 15:35 waiwai4701 阅读(100) 评论(0) 推荐(0) 编辑

2015年1月16日

摘要: struct {*elem ,length,size}L init: 申请elem空间,如果申请成功,length=0;size =100 忽略:(SqList L),把声明过的列表用来初始化int insert: elem是首地址,判断elem是否为空,空返回,否则获取elem[length]... 阅读全文
posted @ 2015-01-16 13:30 waiwai4701 阅读(322) 评论(0) 推荐(0) 编辑

摘要: 参考文章:http://blog.csdn.net/lijuwen/article/details/1353084然后又按照自己的方式敲了一遍,各种错。。。。下面是我的代码:#include "stdafx.h"#include #include using namespace std;typede... 阅读全文
posted @ 2015-01-16 13:29 waiwai4701 阅读(250) 评论(0) 推荐(0) 编辑

摘要: #include "stdafx.h"#include using namespace std;typedef int DataType;#define SIZE 100typedef struct{ int i,j; DataType e;}Triple;typedef struct{ Tripl... 阅读全文
posted @ 2015-01-16 13:27 waiwai4701 阅读(194) 评论(0) 推荐(0) 编辑

2015年1月7日

摘要: #include "stdafx.h"#include using namespace std;typedef int DataType;#define MAXSIZE 5typedef struct{ DataType *base; int front; int rear;}CircleQueue... 阅读全文
posted @ 2015-01-07 11:12 waiwai4701 阅读(127) 评论(0) 推荐(0) 编辑

摘要: #include "stdafx.h"#include using namespace std;typedef int DataType1;typedef struct qnode{ DataType1 data; struct qnode *next;//在结构体中调用结构体本身,要用qnode,... 阅读全文
posted @ 2015-01-07 11:11 waiwai4701 阅读(98) 评论(0) 推荐(0) 编辑