I am making a program (new to c++) which lets you save contacts and then allow you to list them and remove them. I am lost to how I would number each contact, for example:
1. Sam 21340223
2. Jessica 21020303
ksm092
-4
Light Poster
Recommended Answers
Jump to PostIn my knowledge, I might use Linked List :D, but I'm meeting with some problem in pointer know :(
so you should search Linked List for your purpose :D
Jump to Postyes :) and if you want to search/delete/add with fast speed, you should use some data structure for this work. (example: Skipped List, Heap,etc...)
All 6 Replies
hqt
0
Light Poster
ksm092
-4
Light Poster
hqt
0
Light Poster
SnowFall
0
Newbie Poster
jinhao
14
Newbie Poster
jinhao
14
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.