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.