Solved

building an dictionary

Posted on 2003-11-24
3
220 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

758 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