自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

DIYing

ELF-PE

  • 博客(14)
  • 资源 (10)
  • 收藏
  • 关注

原创 C:\Vim\VIMPROJ\vimrc\_vimrc

” ======================================================================== “公孙小龙(chiyl) 的 vimrc “我的联系方式:xidiandaily (AT) gmail (DOT) COM ” ” ” 许可:GPLv3 ” =========================================

2015-04-27 22:15:21 698 1

原创 C:\Vim\_vimrc

set nocompatible source VIMRUNTIME/vimrcexample.vimsourceVIMRUNTIME/vimrc_example.vim source VIMRUNTIME/mswin.vim behave mswinset diffexpr=MyDiff() function MyDiff() let opt = ‘-a –binary ’

2015-04-27 22:13:53 516

原创 解释器模式

#include <iostream>#include <list>#include <string>using namespace std;class Context;class AbstractExpression{public: virtual void interpret(Context *)=0;};class TerminalExpression:public Abs

2015-04-02 16:59:44 530

原创 享元模式

#include <iostream>#include <string>#include <map>using namespace std;class Flyweight{public: virtual void operation(int)=0;};class ConcreteFlyweight:public Flyweight{ void operation(int

2015-04-02 16:56:28 568

原创 中介者模式

#include<iostream>#include <string>using namespace std;class Mediator;class ConcreteColleague1;class ConcreteColleague2;class Colleague{protected: Mediator *mediator;public: Colleague(Me

2015-04-02 16:50:57 525

原创 责任链模式

#include<iostream>#include <string>using namespace std;class Request{public: string requestType; string requestContent; int number;};class Manager{protected: string name; Man

2015-04-02 08:28:29 513

原创 命令模式

#include <iostream>#include <string>#include <list>using namespace std;class Barbecuer{public: void bakeMutton() { cout<<"烤羊肉串"<<endl; } void bakeChickenWing() {

2015-04-02 08:03:11 492

原创 桥接模式

GOOD:将抽象部分与实现部分分离,使它们可以独立变化。 这里说的意思不是让抽象基类与具体类分离,而是现实系统可能有多角度分类, 每一种分类都有可能变化,那么把这种多角度分离出来让它们独立变化,减少它们之间的耦 合性,即如果继承不能实现“开放-封闭原则”的话,就应该考虑用桥接模式。#include <iostream>#include <string>using namespace std;

2015-04-02 07:54:12 559

原创 单例模式

GOOD:保证一个类仅有一个实例,并提供一个访问它的全局访问点 #include <iostream>#include <string>using namespace std;class Singleton{ private: int i; static Singleton *instance; Singleton(int i) { thi

2015-04-02 07:50:10 518

原创 迭代器模式

#include <iostream>#include <string>using namespace std;class Iterator;class Aggregate{public: virtual Iterator *createIterator()=0;};class Iterator{public: virtual void first()=0; v

2015-04-02 07:22:14 477

原创 组合模式

#include <iostream>#include <vector>#include <string>using namespace std;class Component{public: string name; Component(string name) { this->name=name; } virtual void a

2015-04-02 00:23:42 477

原创 备忘录模式

#include <iostream>#include <string>#include <vector>using namespace std;class Memo{public: string state; Memo(string state) { this->state=state; }};class Originator{pub

2015-04-01 23:53:15 558

原创 适配器模式

#include <iostream>#include <string>using namespace std;class Adaptee{public: virtual void myRequest() { cout<<"实际上的接口"<<endl; }};class Target{public: virtual void reques

2015-04-01 23:21:25 458

原创 状态模式

#include <iostream>#include <string>using namespace std;class Work;class State;class ForenonnState;class State{public: virtual void writeProgram(Work*)=0;};class Work{public: int hour

2015-04-01 19:10:13 531

C语言初学者入门讲座C语言初学者入门讲座

C语言初学者入门讲座C语言初学者入门讲座C语言初学者入门讲座C语言初学者入门讲座

2010-05-21

C和C++算法与描述

C和C++算法与描述。有一定基础者可以好好学习一下。保证令人刮目。下下下来。以后有用的。

2010-04-22

常见电脑故障处理方法常见电脑故障处理方法

常见电脑故障处理方法常见电脑故障处理方法常见电脑故障处理方法常见电脑故障处理方法

2010-04-15

如何挽救软盘文件如何挽救软盘文件

如何挽救软盘文件如何挽救软盘文件如何挽救软盘文件如何挽救软盘文件

2010-04-15

网站设计的思考网站设计的思考

网站设计的思考,设计高手箴言,菜鸟变大鸟。

2010-04-15

我要破解文集之再续篇

我要破解文集之再续篇,无往不胜的破解大全,谁与争锋的利刃!!

2010-03-19

年度巨献电脑知识及技巧大合集

电脑知识大全,让你成为电脑高手的捷径。吐血推荐!!!

2010-03-19

dos下关闭木马后门病毒端口使用教程.rardos下关闭木马后门病毒端口使用教程.rar

木马后门病毒端口使用教程.rardos下关闭木马后门病毒端口使用教程.rar

2010-02-13

入侵问题及防范措施新人入侵常见问题及WEB防范措施基础\623xr\新人入侵常见问题及WEB防范措施基础

新人入侵常见问题及WEB防范措施基础\623xr\新人入侵常见问题及WEB防范措施基础

2010-02-13

空空如也

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

TA关注的人

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