Question: If you use ASU General g + + , then simply put the . h and . cpp files in one folder and compile with
If you use ASU General g then simply put the h and cpp files in one folder and compile with this command:
g patient.cpp hwqcpp o out
Execute with:
out
Follow the instructions given in the comments of the hwqcpp and patient.cpp files to complete the missing parts of the project so that the program executes properly. You should first complete patient.cpp and then go on to hwqcpp
NOTE: In the homework, list means an array not a linked list
CSE Introduction to Programming Language Page
Homework
This is a menudriven program that uses the following options:
a Add a new patient. The patient details name age, year of birth, ID are given as function arguments. You should add the patient only if the patient is not already present in the array compared by name, case sensitive and there is space in the array to add a new patient.
b Display the all patients information. See expected output below.
c Display only the patients whose age falls within a range in descending order
d Display the oldest patient whose name starts with a specific character. Ask the user for a character. This function is used to demonstrate garbage collection.
You should start completing the program beginning from Q Question numbers are given on line in hwqcpp Q Q in patient.cpp and Q Q in hwqcpp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
