Solved

building an dictionary

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

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…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

777 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