Hi all,
I am new to C++, though I have been programming in C for quite some time. I have a class named Data, and I would like to define arrays in this class x, y, z, etc etc; now I want the size of these arrays to be defined at the construction of the class. How would I go about doing so?
Would I just define the array's like this, x[], y[], z[], and use malloc() within the constructor?