C++ A Manager’s Office requires an application to go through…
Question Answered step-by-step C++ A Manager’s Office requires an application to go through… C++A Manager’s Office requires an application to go through employees’ names and dates of birth and find all the employees’ names and dates of birth that match a specific month. Each line in a data file contains an employee’s first name, last name, and date of birth in this format “mm/dd/yyyy” as followsVivian Murphy,3/20/1968Tyler Andrews,2/2/1971Olivia Douglas,3/28/1973Sawyer Holmes,3/9/1975Rebecca Farrell,3/21/1975When the application starts, the manager will enter the file name to read employees’ information, then he/she will enter the current month to get all employees who were born in this month to prepare the “happy birthday email”.The number of employees in the data file could be hundreds. This amount is different in each data file.Although the names in the data file are not more than 30 characters, but to save memory make sure the names are kept dynamicallyYour responsibility is to create a library of functions in a module called “Birthdate” that can support the main program provided to have the following execution outcome:The names and birthdates in the file are not sorted. Your search results must be sorted based on the year of birth in ascending order.Mandatory functions:bool beginSearch(const char* filename)Opens the datafile. If successful it will print Birthdate search program and returns true otherwise it will print Data file “filename goes here” not found! and return false;bool readBirthDate(int month)Reads the birth records matching the month. If at least one record is matched and read, turns true, otherwise falsevoid sort()Sorts the records based on the year of birth in descending order.void displayBirthdays()Displays the found records as displayed in the execution sample.void deallocate()Releases all the dynamically allocated memory.void endSearch()Finalizes the program by making sure all resources are released and closed and then prints: Birthdate Search Program Closed.Execution SampleV1.1 corrected the data file recordsEnter data file name: bd.csvBirthdate search programEnter a month of birth or 0 to exit: 1113 birthdates found:1) Chelsea Douglas:1941-11-18===================================2) Savana Morgan:1942-11-28===================================3) Joyce Moore:1943-11-15===================================4) Bruce Howard:1949-11-6===================================5) Nicole Andrews:1962-11-5===================================6) Madaline Wells:1968-11-1===================================7) Eddy Cameron:1970-11-18===================================8) James Payne:1974-11-28===================================9) Chelsea Murphy:1976-11-25===================================10) Antony Perry:1989-11-6===================================11) Ellia Craig:1991-11-6===================================12) Dainton Bailey:1997-11-7===================================13) Kevin Martin:1998-11-3===================================Enter a month of birth or 0 to exit: 0Birthdate Search Program Closed. Files provided : BirthDate.h(empty)BirthDate.cpp(empty)main.cpp#include


