Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Recursive maze, so close, probably something stupid Pin
David Crow17-Sep-09 2:43
David Crow17-Sep-09 2:43 
AnswerRe: Recursive maze, so close, probably something stupid Pin
Alan Balkany18-Sep-09 3:58
Alan Balkany18-Sep-09 3:58 
You can get through any maze by putting your right hand on the wall as you enter, then keeping your right hand on the wall as you walk through the maze.

I.e., whenever you have the opportunity to turn right, do it, still keeping your right hand on the wall.

When you reach a dead end, you loop around, still keeping your right hand on the wall at all times.

This will get through any maze. Another name for this search pattern is a Depth-First Search (http://en.wikipedia.org/wiki/Depth-first_search[^]).
QuestionTime Pin
Bram van Kampen16-Sep-09 13:28
Bram van Kampen16-Sep-09 13:28 
AnswerRe: Time Pin
David Crow17-Sep-09 2:47
David Crow17-Sep-09 2:47 
GeneralRe: Time Pin
Bram van Kampen21-Sep-09 10:40
Bram van Kampen21-Sep-09 10:40 
QuestionAudio APIs for Windows XP [modified] [Solved] Pin
mk_416-Sep-09 12:43
mk_416-Sep-09 12:43 
AnswerRe: Audio APIs for Windows XP Pin
Jerry Evans16-Sep-09 13:44
Jerry Evans16-Sep-09 13:44 
GeneralRe: Audio APIs for Windows XP Pin
mk_416-Sep-09 21:58
mk_416-Sep-09 21:58 
QuestionHow can i check CString format for a especific mask Pin
SNArruda16-Sep-09 12:20
SNArruda16-Sep-09 12:20 
AnswerRe: How can i check CString format for a especific mask Pin
Chris Losinger16-Sep-09 15:22
professionalChris Losinger16-Sep-09 15:22 
AnswerRe: How can i check CString format for a especific mask Pin
«_Superman_»16-Sep-09 20:07
professional«_Superman_»16-Sep-09 20:07 
QuestionRe: How can i check CString format for a especific mask Pin
David Crow17-Sep-09 2:50
David Crow17-Sep-09 2:50 
QuestionGood book for C/C++/VC++2008 Pin
DarkSorrow3816-Sep-09 8:38
DarkSorrow3816-Sep-09 8:38 
AnswerRe: Good book for C/C++/VC++2008 Pin
N a v a n e e t h16-Sep-09 9:12
N a v a n e e t h16-Sep-09 9:12 
AnswerRe: Good book for C/C++/VC++2008 Pin
bob1697216-Sep-09 11:07
bob1697216-Sep-09 11:07 
QuestionCompliling trouble Pin
belleissexy33316-Sep-09 8:27
belleissexy33316-Sep-09 8:27 
AnswerRe: Compliling trouble Pin
Cedric Moonen16-Sep-09 8:36
Cedric Moonen16-Sep-09 8:36 
AnswerRe: Compliling trouble Pin
CPallini16-Sep-09 11:02
mveCPallini16-Sep-09 11:02 
Question[Message Deleted] Pin
Tobster201816-Sep-09 8:22
Tobster201816-Sep-09 8:22 
AnswerRe: Visual Studio 2008 C++ - error adding messages like WM_mousemove Pin
Joe Woodbury16-Sep-09 18:02
professionalJoe Woodbury16-Sep-09 18:02 
QuestionWindows API WriteFile() Function Pin
egerving16-Sep-09 7:59
egerving16-Sep-09 7:59 
AnswerRe: Windows API WriteFile() Function Pin
Randor 16-Sep-09 9:26
professional Randor 16-Sep-09 9:26 
AnswerRe: Windows API WriteFile() Function Pin
«_Superman_»16-Sep-09 20:12
professional«_Superman_»16-Sep-09 20:12 
QuestionMoving CWnd objects in MFC, driving me nuts !! Pin
Neil Urquhart16-Sep-09 5:13
Neil Urquhart16-Sep-09 5:13 
AnswerRe: Moving CWnd objects in MFC, driving me nuts !! Pin
Stuart Dootson16-Sep-09 5:25
professionalStuart Dootson16-Sep-09 5:25 

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.