How can I declare an array without specific size as a class member? I want to set the size of this array immediately in the class constructor. Is it possible to do such thin
You can use a vector, by including header file #include
It can grow and shrink in size as required and vectors have built in methods/functions which can make your work easy.