0

Which data type should i use to create a map or dictionary in c++?

I have a problem in which i have to make contact list by using map or dictionary.

4th Nov 2016, 9:28 AM
Ankit Pathak
Ankit Pathak - avatar
4 Respostas
+ 1
For example you will approach a two-dimensional array. You can use separate file (e.g. *.ini) to keep it.
4th Nov 2016, 9:57 AM
Aleksandr Sirotin
Aleksandr Sirotin - avatar
+ 1
to create map or dictionary. You don't need data type. You need data structure, That is tree. Trie used for creating dictionary. And a perfect hash table will be the best.
4th Nov 2016, 10:28 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
to keep what??
4th Nov 2016, 11:28 AM
Ankit Pathak
Ankit Pathak - avatar
0
are you asking me
4th Nov 2016, 11:30 AM
Aditya kumar pandey
Aditya kumar pandey - avatar