I need help with my project. I don't understand how I would approach the following situation and need some advice/suggestions.
I am using a file to read info necessary for the project and using classes to access the data.
void CarInit(string& make, string& model, string& color, int year);
The file being read will consist of the following:
10 Toyota Rav4 Silver 2004 (10 =number of cars with those specific specs)
2 Acura Integra White 2000
I understand that a class represents a single object. So, how would i save the count, or 10 and 2, in this case in order to use it for implementation?
Thanks a bunch!