自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (3)
  • 收藏
  • 关注

原创 外观模式与单件模式的举例

<br /><br />#include <iostream><br />#include <string><br />using namespace std;<br />//外观模式与单件模式的举例<br />//外观模式主要用于在一个子系统提供统一的接口,减少类与类之间的耦合<br />//在外观模式中,对于类而言,成员函数,我们称之为方法 ,对于子系统而言,我们称之为对外的接口<br />//单件模式中,只允许有一个类的实例<br />//此处,子系统是Facade(外观类)与Message(消息类)

2011-04-28 10:37:00 382

原创 A Simple IndexSearch

<br />A simple index search,no illustrate,just simple.write it and practise,and feel it<br /> <br /> <br />// IndesSearch.cpp : Defines the entry point for the console application.<br />//<br />#include "stdafx.h"<br />#include "stdlib.h"<br />#define INDE

2010-12-22 23:16:00 273

原创 a little thinking from a short video

<br />           Today,I watched a short video about career planing from www.lampbrother.net website.It tell many aspects of our study and life,including our university,establish a bussiness,get a job,to MPA and so on.Though I don't Know the teacher's name

2010-12-21 23:59:00 244

原创 BinarySortTree二叉排序树(2010年12月07日)

<br />It is a easy algorithm to create binary sort,insert one data into the tree,and delete a data from the the tree.I am not a high person,so I hope someone could give me more and better advices to rewrite it.and I do last explain,I write these words and

2010-12-07 23:32:00 360

原创 kmp

<br />#include <iostream><br />#include <string><br />using namespace std;<br />void get_next(string ssub,int *next){<br /> int i=3;<br /> next[1]=0;next[2]=1;<br /> while(i<ssub.size()){<br /> <br />  int j=i-1;<br />  while(j>0){<br />  <br />   if(ssub[

2010-07-24 00:16:00 167

原创 分析C语言中的声明

<br />C语言中的类型说明是特别丰富的,不同的组合有不同的意义。比如说数组指针,指针数组,函数指针,指针函数,他们的样子都长得差不多,如果不能掌握如何去分析他们,靠死记的话,就很难灵活应用。现在慢慢的学习如何分析C语言的声明吧。<br /> <br />int a;<br /> <br />可以说声明了一个int型变量a,也可以说是把a声明为一个in型变量,在这里,这两句话的意思是一样的,所表达出的效果也是一样的。但是,在更复杂一点的C语言声明中,它们之间的区别可能会大相径庭了。下面再看一个吧。<br

2010-07-20 10:02:00 224

原创 认识自己

      今天是周五,只有两节课,本来是计划去溜冰的,但我坐在网吧里盯着屏幕就不再走了。坐得越久,心情越沉,越缺乏那种活力,越想就什么都越不想做,看着屏幕,想啊想啊.............      我想做一个软件工程师,我找了好多相关的资料,但我还是迷惘了,我不知道自己要做什么,我没有计划,没有安排,跟无头蝇没有什么区别。      晚上回到寝室,寝室里没有人,室友们也不知道做什么去

2009-04-20 17:26:00 288

windos MFC简要介绍

windos MFC简要介绍,一共十四章,涵盖基本内容

2009-03-04

一个低效的C++链表

一个低效的C++链表,因为我是刚学C++编程的,而且,还没学过数据结构,所以这个程序只能是低效能的,望高手指教

2009-03-04

dos命令大全集,路过,不要错过

简单高效的dos命令,相信你看了还会记得的,呵呵

2009-02-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除