Hey guys I'm trying to read in data from a text file using a loop. The text file has 2 types of data - a bank account id and the balance for each account.
We had to define a class (with constructors, setters/getters, and destructors) and now I'm at the end of the assignment. How would I read the data for each account from the file, then create an object with the Class that I defined to use that data. I want to store the object in an array.