I have been given and assignment to complete which is about a savings club. The club has two member types (Full and Young). I have written a abstact (Member) class with virtual functions and two classes (Full and Young) for each member type. I think I have managed to write all of my functions but there is one part of the program that I cannot seem to understand. My assignment asks for me to use a C++ STL Vector of pointers. This is what I don't understand. I have set up my program so that my program writes the members data to a text file. What I would like to know is how do I go about getting this data of the text file and stored into a vector of pointers for use in my programs functions. I can upload my code so far if you want. Text in my file is stored as (name, account number, balance, age, date)
One other thing when I compile my code it does not seem to be to happy about the date declaration.
One other thing when I compile my code it does not seem to be to happy about the date declaration.
Comment