Define a class Directory with members: name and phone number. Use the class object to store each set of data into a text file “phone.txt”. The names contain only one word and the names and telephone numbers are separated by white spaces. Write a C++ program to read the file and output the list in two columns, such as:
John 23456
Ahmed 9876
enter the details of 5 members
Answers
Answered by
0
Cultural and Linguistically Appropriate service .....
Similar questions