The Singleton Design Pattern (With C++ Example)

preview_player
Показать описание
This video shows everything you need to get started with a very basic Singleton architectural design pattern in computer programming. Private constructors, static member variables, and so much more! The first part of the demonstration is language agnostic (somewhat), and the specific example uses C++ and lazy initialization.

Bradley Sward is currently an Associate Professor at the College of DuPage in suburban Chicago, Illinois. He has earned a Masters degree in Software Engineering from DePaul University, a Masters degree in Computer Science from the University of Illinois at Springfield, and two Bachelors degrees in Computer Science and Molecular Biology from Benedictine University. Prior to teaching, Bradley worked for five years in the field of casino gaming on a variety of video slot machine and poker games. The Village People have been permanently etched into his brain.
Рекомендации по теме
Комментарии
Автор

Fantastic video... Very concise and clear👌

bigbro_songz
Автор

very good and clear explanation, thanks! I hope for more SDL or SFML tutorials in the future !

RiccardoBocci
Автор

I’m sorry but there’s something wrong you deleted instance inside of the destructor while the destructor is called when you delete the instance so the destructor will never be called and instance will never be deleted

masoudyousefi
welcome to shbcf.ru