First what is the difference when using
MyClass mc(val); vs using
MyClass *mc = new MyClass(val);
If I put the declartion of the classes in a loop the "MyClass mc(val)" will cause stack overflow problems where the second doesn't. I have my own thoughts, but wanted to see if I van get more info. Thank you to who respond.