So classB is inheriting from classA, and classA has array1[9] declared and values assigned to it from reading through a file. When I call array1[i] in classB using a for loop, there's no values assigned to array1 in that class.
How can I get the values of array1[9] and use them in classB? I'm thinking to use pointers but I'm not sure how to go about it.