Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dictionary in C++

Status
Not open for further replies.

LongSky

Programmer
Dec 7, 2005
2
US
Can someone help me?
i have a programm who generates random world and i need a dicitonary to check if the world exist. How can i do? do i need a huge arry with all the world of an english dictionary? is there a better or another way? Please help me.
Thank to all
 
Limit your number of words. Do you really need every single word? There are new words being invented every day.
 
i explain better my program. I'm doing a program that will help me solve the game "text twister". The game gives u 6 letters and u have to type the most number of words u know with that letters. For this reason i think i need a whole dictionary, or at least all the 6 letters-words, but anyway they are more than 10,000 words, not including the 5 letter-words make plural with s or -ed or -ing. What do u segguest me?
 
Well a hash would provide you with fast "does word exist" type functionality.

You type in a word, it replies with "does" or "does not" exist.


--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top