I have been looking for the past 3 hours trying to find a comprehensive example or tutorial for assigning classes to an array. I have found the clocktype video on youtube by Joseph Tomlin but without the code, it is hard to get it to work with what I need it to do. I need to take a bank account class and assign it to an array. I am getting a little frustrated as I have been looking for 2.5 hours now.
Made a little progress. Please help me to PrintCustomerData. Not sure exactly how to access it with my function. Also, My menu isn't exiting quite right....
but, If an Array is declared as an int, how can it hold anything else other than ints?
An Array of ints will hold ints. An array of some class will hold that class. You can combine the two in an array, but that would mean making another class, or struct, and using that type of array.
You posted while I was typing, it look like. And look like you figured it out.