Class++ | Classes and OOP made easy and powerful with Access Specifiers, function overloading and more!

If you’re storing a variable that shouldn’t be deleted when the object gets destroyed, it’s better to put it as a static variable than to store it inside the object.