Arrays that holds classes.
Chris Stols: Hello Is there a way i can create my own class and reference it through an array ?
- Repost your code that compiles.
- All classes can be “referenced through an array,” as long as there is a default constructor (compiler generated, or yours).
Hello Is there a way i can create my own class and reference it through an array ?
The class is of non-default data types. (int, float, double, etc.)
Why i ask. :-)