Question: Description: Apply what you have learned in OOP, Inheritance, Polymorphism and Files I/O techniques to build the above shown CommunityMember hierarchy. For all classes we

Description: Apply what you have learned in OOP, Inheritance, Polymorphism and Files I/O techniques to build the above shown CommunityMember hierarchy. For all classes we need to store the following information: 1. ID: unsigned long int. 2. FirstName: string. 3. LastName: string. 4. Address: string. 5. CellPhone: unsigned long int. Requirements 1. For every class, you need to build a default/parametrized constructor, 2. For every attribute in every class, you need to build a set/get function, 3. The default constructors should initialite all the objects" data members to its default values, 4. Parametrieed constructors are used to set objects data members using the values passed to the objects during instantiation. 5. For every class you must implement a readData0 function to read all the object's data members from the vier, 6. For every class you must implement a print0 function to print all object's data to the screen. 7. Your program must be able to write all objects" data to the binary file "Community,dat". using the print ofile functions, 8. Your program should be able to read and append to the "Cemmunity.dat" file as needed, using the readfromfle functions. 9. Your main file must be able to store/retrieve data to/from output/input files depending on the user's choice. 10. It is not known how many objects will be added or their order of addition. Teamwork 1. You need to divide yourselves into groups of 3 students each maximum, 2. Every zroup must choose a leader amongst themselver, 3. The leader is respons ble (in addition to programming) of assighing taus to every student in the group. 4. At the end of the project's due date, the leader is responsible of uploading all project's files to the Group's specified folder on the Blackboard srstem. 5. The leader must specity the tasks assigned to each member of the group in the final report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
