Skip to content

A collection of simple and practical C++ examples demonstrating the most common design patterns — creational, structural, and behavioral.

Notifications You must be signed in to change notification settings

dimabeliuga/DesignPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns Repository

Overview

This repository contains simple programs that demonstrate different design patterns. Each pattern has its own folder with a small program written in C++ to show how the pattern works.

Purpose

The goal of this project is to learn and practice design patterns by creating clear and simple examples. These examples can help others understand how to use design patterns in their own projects.

Structure

The repository is organized by design patterns. Each folder is named after a specific pattern.

List of Design Patterns

Here are some of the design patterns included in this repository:

How to Use

  1. Clone the repository:

    git clone https://github.com/dimabeliuga/DesignPatterns.git
  2. Navigate to the folder of the design pattern you want to explore:

    cd DesignPatterns/[PatternName]
  3. Build the program using CMake.

  4. Check the code and comments to understand how the pattern is implemented.

Contributing

If you want to contribute:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Add or improve examples of design patterns.
  4. Submit a pull request with a clear description of your changes.

About

A collection of simple and practical C++ examples demonstrating the most common design patterns — creational, structural, and behavioral.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published