...

/

STL Based Telephone Book

STL Based Telephone Book

Understand the usage of vector collection for storing user-defined Person class objects.

We'll cover the following...

Problem

Write a program using STL to maintain a telephone book containing names and telephone numbers. It should be possible to search the telephone book either using a name or using a telephone number.

Sample run

Here’s what you should see when ...