Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

building an dictionary

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

791 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