Coder Social home page Coder Social logo

cppdesignpattern's Introduction

CppDesignPattern

C++设计模式实现,Qt项目

  • Blog:http://techieliang.com
  • 范例在main文件测试完毕后大部分都忘了delete,留下这戏错误提醒以后不要再犯。。。使用各种模式时请根据情况管理指针

SingletonPattern

单例模式

FactoryMethodPattern

工厂方法模式/抽象工厂模式

TemplateMethodPattern

模板方法模式

BuilderPattern

建造者模式

PrototypePattern

原型模式

ProxyPattern

代理模式

MediatorPattern

中介者模式

CommandPattern

命令模式

ChainResponsibilityPattern

责任链模式

DecoratorPattern

装饰模式

StrategyPattern

策略模式

AdapterPattern

适配器模式

CompositePattern

组合模式

ObserverPattern

观察者模式

FacadePattern

门面模式,比较简单,没做范例

MementoPattern

备忘录模式

VisitorPattern

访问者模式

StatePattern

状态模式

cppdesignpattern's People

Contributors

coologic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.