S
- Steve -
I need to have a constructor that is passed a integer number that defines
the size of an array in the private area of the Class. Is that possible?
For example in main() the user is asked for the number of lanes. Then when
the object is declared after that it is passed that integer, which then
creates an array of pointers.
the size of an array in the private area of the Class. Is that possible?
For example in main() the user is asked for the number of lanes. Then when
the object is declared after that it is passed that integer, which then
creates an array of pointers.