I have a class with a constructor that needs to be called so it may initalize it's variables (some which are arrays).
if I do:
it doesn't call the constructors but if I do:Code:class_name variable_name[array_size];
it calls the constructors and the world (or at least program) is happy.Code:class_name *variable_name = new class_name[array_size];
Is this suppose to be happening? And is there any way to get the constructors called using the array notation?