#include <map>
class Word
{
public:
World();
// ...
protected:
std::string m_english;
std::string m_chinese;
//std::string m_;....
// => std::vector<std::string> m_info;
};
class Dictionary
{
public:
Dictionary();
//....
void Query(std::string word);
protected:
std::map<std::string, class Word> m_wordTable;
//...
};