CPP Phonebook

May 4, 2016 at 2:03pm
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.

May 5, 2016 at 3:39am
Let's see what you've done so far.
May 5, 2016 at 9:11am
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.