Solved

building an dictionary

Posted on 2003-11-24
3
221 Views
Last Modified: 2010-04-02
i'm learning c++,and i want to build a dictionary, but i dont know how to begin( database and something likes it). help me, please !
0
Comment
Question by:lmcan
3 Comments
 
LVL 11

Accepted Solution

by:
bcladd earned 75 total points
ID: 9813897
The container class std::map, using the standard string class, std::string, is probably where you want to start (probably a std::map<std::string, std::string> to relate the word (first string in the map) to the definition (second string in the map)). Thus I would suggest that you look at documentation for the map container and the string class. One source of information is Koenig and Moo's _Accelerated C++_, one of my favorite computer programming books.

Hope this helps, -bcl
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10285783
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: bcladd {http:#9813897}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now