CPP Phonebook

Write your question here: I have a project in my computer science class where i need to create a simple phonebook in C++. I've been trying for a while but I'm super confused on how to do it. Can someone help me?

We need to be able to store/add new contacts, and also search for them.

Let's see what you've done so far.
Sounds easy. Have you learnt struct or class? Create one named Contact, with string name and int num as contact number. Now create a vector or array named phonebook, whose datatype is Contact. If you need help, do say so!
Topic archived. No new replies allowed.