Click here to Skip to main content
15,900,665 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Change BAR Color of CProgressCtrl Pin
David Crow12-Jul-07 2:33
David Crow12-Jul-07 2:33 
QuestionEnumerating all paths on a drive? Pin
Lord Kixdemp11-Jul-07 23:41
Lord Kixdemp11-Jul-07 23:41 
AnswerRe: Enumerating all paths on a drive? Pin
Nibu babu thomas11-Jul-07 23:55
Nibu babu thomas11-Jul-07 23:55 
GeneralRe: Enumerating all paths on a drive? Pin
Lord Kixdemp12-Jul-07 0:12
Lord Kixdemp12-Jul-07 0:12 
GeneralRe: Enumerating all paths on a drive? Pin
Nibu babu thomas12-Jul-07 0:22
Nibu babu thomas12-Jul-07 0:22 
AnswerRe: Enumerating all paths on a drive? Pin
Michael Dunn12-Jul-07 8:32
sitebuilderMichael Dunn12-Jul-07 8:32 
QuestionUnicode support for MS-Chart control Pin
RaviPK11-Jul-07 22:52
RaviPK11-Jul-07 22:52 
QuestionWord game Pin
Yustme11-Jul-07 22:48
Yustme11-Jul-07 22:48 
Hi,

Im trying to make a word game. But im kinda stuck with how to hussle the letters.

This is the code i got so far:

char letters[] = {'a', 'v', 'e', 'd', 'k', 'u', 'r', 'n', 'e'};

for(char * c = letters; c < &letters[sizeof(letters)]; c++)
{

}

Im trying to search all possible letter combinations starting with a word containing 2 letters and max 9.

After that, i'll compare the words it found with the dictionary so that the user knows if the word exist or not.

But comparing wont be a problem. The problem right now is to search all possible word combinations.

Anyone got some kind of an algorithm for this?

Thanks in advance!
AnswerRe: Word game Pin
Rage12-Jul-07 0:17
professionalRage12-Jul-07 0:17 
GeneralRe: Word game Pin
Yustme12-Jul-07 0:34
Yustme12-Jul-07 0:34 
GeneralRe: Word game Pin
Rage12-Jul-07 1:16
professionalRage12-Jul-07 1:16 
GeneralRe: Word game Pin
Yustme12-Jul-07 1:24
Yustme12-Jul-07 1:24 
AnswerRe: Word game Pin
Hans Dietrich12-Jul-07 1:15
mentorHans Dietrich12-Jul-07 1:15 
GeneralRe: Word game Pin
Yustme12-Jul-07 1:28
Yustme12-Jul-07 1:28 
AnswerRe: Word game Pin
Yustme12-Jul-07 1:23
Yustme12-Jul-07 1:23 
AnswerRe: Word game Pin
cp987612-Jul-07 2:13
cp987612-Jul-07 2:13 
QuestionHow to get the Instance Handle from a Process ID&#65311; Pin
Billypon11-Jul-07 22:26
Billypon11-Jul-07 22:26 
AnswerRe: How to get the Instance Handle from a Process ID&amp;amp;#65311; [modified] Pin
Nibu babu thomas11-Jul-07 22:29
Nibu babu thomas11-Jul-07 22:29 
QuestionResources for STL Pin
vipin_nvk11-Jul-07 22:12
vipin_nvk11-Jul-07 22:12 
AnswerRe: Resources for STL Pin
SandipG 11-Jul-07 22:37
SandipG 11-Jul-07 22:37 
AnswerRe: Resources for STL Pin
jhwurmbach11-Jul-07 22:42
jhwurmbach11-Jul-07 22:42 
AnswerRe: Resources for STL Pin
Rage12-Jul-07 0:20
professionalRage12-Jul-07 0:20 
QuestionDrag and Drop of a Bitmap Pin
baerten11-Jul-07 21:48
baerten11-Jul-07 21:48 
QuestionExceptions Pin
tom groezer11-Jul-07 21:30
tom groezer11-Jul-07 21:30 
AnswerRe: Exceptions Pin
SandipG 11-Jul-07 21:39
SandipG 11-Jul-07 21:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.