Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE READ MY FULL QUESTION THE LAST ONE ANSWERED SOMETHING TOTALY DEFFRINT I need a C++ code that meets these requirements, DONNOT COPY my professor
PLEASE READ MY FULL QUESTION THE LAST ONE ANSWERED SOMETHING TOTALY DEFFRINT
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. For each of the derived classes, we need to store the information shown in the below table I need a C++ code that meets these requirements, DONNOT COPY my professor approved none of the existed solution, she wants these requirements.
Your program must be able to write all objects' data to the binary file "Community.dat", using the printToFile functions,
Your program should be able to read and append to the "Community.dat" file as needed, using the readFromFile functions,
Your main file must be able to store/retrieve data to/from output/input files depending on the user's choice,
It is not known how many objects will be added or their order of addition.
ps: strings should be stored in arrays.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started