Is there a way in C++ where an objects has argument added upon it, with an array such as:
int x = 1; int y = 2; Object myObject( x, y )[5]; // does not work
Or something like this:
int x = 1; int y = 2; int numObjects = 5; Object myObjectArray[numObjects]; for (int i=0, i
Maybe it's a function with x,y and numObjects as params?