♫musicjinni

C++ Tutorial: the factory design pattern

video thumbnail
Here's a simple example and explanation of the Factory design pattern using C++.

In class-based programming, the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created.

In this video, you'll learn how to implement one.

// Download the code here:
https://www.dropbox.com/s/aznvi30wjob4mxe/factory.cpp?dl=0

// Check out my software design patterns playlist:
https://youtube.com/playlist?list=PLaatXkJEXKyJo09VGzc1RIrQ9WqDk3wNj

// Check out my complete C++ videos playlist:
https://www.youtube.com/playlist?list...

// Consider supporting this channel in multiple ways:
Super Thanks
https://ko-fi.com/professorhank
https://paypal.me/hankstalica1
https://www.youtube.com/channel/UC-RZhAum87am1bsFAJ_HV-g/join
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP

#C++ #programming #tutorial

C++ Tutorial: the factory design pattern

C++ Tutorial: the singleton design pattern

Learn how the Model View Controller (MVC) design pattern works using C++ and namespaces

Disclaimer DMCA