+ 1
How to make a phone book In c++?
9 Respostas
+ 5
as you can see there's lots of ways just think it through
Some questions to guide you;
What does the Phonebook have to save?
(Only name and number or other data?)
What do you want do with it? (Search it in, store new numbers, ...)
Do you want to keep it as simple as possible?
and so on ...
+ 10
Chris... the phone book is the list of the phone numbers..
+ 10
use two for loops like this :
for(){
for(){
}
}
+ 6
what do you mean by phone book???
+ 6
if you want us to do your homework explain yourself don't just say "phone book"
+ 3
you could use a map or one of those given containers to store phone numbers and names
+ 2
make a class Phonebook and implement what you need
+ 1
first come up with the way u wanna design it which will help u choose the data structure to choose. You may go with key - value like name - no
0
like phone number in your phone ...that have: add number with name, update phone number ,etc.