I've been studying OOP in C++ and there are different ways to instantiate a class either through the use of the new keyword or the standard way (which doesn't use new).
Either this using new
Class *object = new Class();
or using the standard way
Class object;
I'm confused on when to use either ways. Can someone clarify on when to use or which is the preferred way to instantiate?