Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 924 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 924 Bytes

Alt text

Short summary:

Used patterns:

  • Abstract factory - used as factory for making taste
  • Singleton - enable to have just one taste factory
  • Flyweight - minimizes memory usage by sharing already allocated tastes
  • Adapter - creates interface for using cake in nutrition meter
  • Chain of responsibility - pass request along a chain of cooks to make crust, fill, whipped cream .....
  • Iterator - iterate through delivery cakes. Also there is chocolate and vanilla/strawberry cake iterator.

Installation:

  1. Install CMake, run CMake (cmake-guie)
  2. In field "Where is the source code", place path to this folder.
  3. In field "Where to build binaries", place path to this folder/Build.
  4. folder/Build doesn't exists so you will be asked if you want Cmake to automatically create for you.
  5. Go to Build folder
  6. Do 'mingw32-make'.
  7. It will make example3.exe