Question: USE C++ Write a program to implement a telephone directory using formatted I/O file. You should write a class TeleDirectory for storing the name, number
USE C++

Write a program to implement a telephone directory using formatted I/O file. You should write a class TeleDirectory for storing the name, number and address of telephone holder. Your program should be capable of writing name, telephone number and address into a data file teledir.txt. Then write class functions searchByName: which should read the file and must return the Phone number of searched person and searchByNumber : which should read the file and must return the name of person holding the searched phone number. Also write a class function printDirectory which must read the complete directory and print all the records of the directory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
