C++ array and etc.Can any professional give some hint or coding to do question below?
Writa an application of clinic to keep track of patient records.Create at least 30 record(with date,patient name,IC number,address,illness,doctor and charge in a text file.The application should read the patient records from text file and insert them into list by using array.After built, there is structure like... (a) List – Display the list of all records. The display should contain an appropriate heading and column captions; (b) Search by date – Search for all the transactions done on that date and print them out together with the total revenue of that day; (Refer to example below) (c) Search by one keyword – Search the records using a keyword and print out all the records which match the searched keyword. You have to tell no records found if none of them matches the keyword; (Refer to example below) (d) Search by two keywords – Search for the records using two different keywords and print out all the records which match both of the searched keywords at the same time. You have to tell no records found if none of them matches the keywords; (Refer to example below) (e) Search by gender – Search and display all male or female patients’ records depending on user’s selection; (f) Update – Ask user for a date and an I/C number. If any record matches the two entries, user will be asked to key in the new data for address, illness, doctor and charge. Then the list will be updated accordingly; (g) Add – Add a new record to the list; (h) Exit – Stop the program. Once the exit option is chosen, the application will update the text file accordingly with all the changes which have been done.