Рет қаралды 11,580
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:
www.dropbox.co...
// Check out my software design patterns playlist:
• Software Design Patterns
// Check out my complete C++ videos playlist:
www.youtube.co....
// Consider supporting this channel in multiple ways:
Super Thanks
ko-fi.com/prof...
paypal.me/hank...
/ @professorhankstalica
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP
#C++ #programming #tutorial