Maybe a stupid question but i couldnt find a way to do that.
If the constructor does not take parameters, then the simple method works fine.
poly * p = new poly[5];
But if it does, then i dont know how to initialize it.
please help!
Thank you.
std::vector<poly> p(5, poly(parameters));