I want to initialize my vector to it's size (in this case - 5) from a parameterised constructor which I'll be calling from the main function.
class OrderedStream{
public:
std::vector<std::string> vec;
OrderedStream(int n)
{
vec(n); // define size of vector here
}
};
int main()
{
OrderedStream *o = new OrderedStream(5);
// By now, I want a vector of size 5
}