Click here to Skip to main content
15,889,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dialog control Pin
ShilpiP27-Sep-06 19:57
ShilpiP27-Sep-06 19:57 
AnswerRe: Dialog control Pin
David Crow28-Sep-06 3:26
David Crow28-Sep-06 3:26 
GeneralRe: Dialog control Pin
LCI28-Sep-06 5:40
LCI28-Sep-06 5:40 
GeneralRe: Dialog control Pin
David Crow28-Sep-06 5:47
David Crow28-Sep-06 5:47 
QuestionHandling Stack Overflow [modified] Pin
risingtechie27-Sep-06 10:53
risingtechie27-Sep-06 10:53 
AnswerRe: Handling Stack Overflow Pin
Zac Howland27-Sep-06 11:00
Zac Howland27-Sep-06 11:00 
GeneralRe: Handling Stack Overflow Pin
risingtechie27-Sep-06 11:23
risingtechie27-Sep-06 11:23 
GeneralRe: Handling Stack Overflow Pin
Christian Graus27-Sep-06 11:26
protectorChristian Graus27-Sep-06 11:26 
Any recursive function will have a maximum depth possible. I would tend to ask design questions like 'what's the maximum value I could be passed here', then engineer it using values that will go twice as deep. That seems to me a reasonable margin for error.

The other thing is, don't use recursion unless it really makes sense to do so.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Handling Stack Overflow Pin
Zac Howland27-Sep-06 11:31
Zac Howland27-Sep-06 11:31 
AnswerRe: Handling Stack Overflow Pin
Stephen Hewitt27-Sep-06 14:12
Stephen Hewitt27-Sep-06 14:12 
AnswerRe: Handling Stack Overflow Pin
Shog927-Sep-06 19:03
sitebuilderShog927-Sep-06 19:03 
AnswerRe: Handling Stack Overflow Pin
ShilpiP27-Sep-06 20:03
ShilpiP27-Sep-06 20:03 
QuestionFast keyword Search through CSortedArray?? anyone? Pin
Greg Ellis27-Sep-06 9:50
Greg Ellis27-Sep-06 9:50 
AnswerRe: Fast keyword Search through CSortedArray?? anyone? Pin
David Leyva27-Sep-06 10:06
David Leyva27-Sep-06 10:06 
GeneralRe: Fast keyword Search through CSortedArray?? anyone? Pin
Greg Ellis27-Sep-06 10:15
Greg Ellis27-Sep-06 10:15 
GeneralRe: Fast keyword Search through CSortedArray?? anyone? Pin
Steve S27-Sep-06 21:49
Steve S27-Sep-06 21:49 
AnswerRe: Fast keyword Search through CSortedArray?? anyone? Pin
Zac Howland27-Sep-06 10:20
Zac Howland27-Sep-06 10:20 
AnswerRe: Fast keyword Search through CSortedArray?? anyone? Pin
Waldermort27-Sep-06 15:18
Waldermort27-Sep-06 15:18 
AnswerRe: Fast keyword Search through CSortedArray?? anyone? Pin
Stephen Hewitt27-Sep-06 20:40
Stephen Hewitt27-Sep-06 20:40 
QuestionClearing the edit box in ccombobox Pin
lctrncs27-Sep-06 9:30
lctrncs27-Sep-06 9:30 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow27-Sep-06 10:48
David Crow27-Sep-06 10:48 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs27-Sep-06 11:38
lctrncs27-Sep-06 11:38 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 2:44
David Crow28-Sep-06 2:44 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs27-Sep-06 11:42
lctrncs27-Sep-06 11:42 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow28-Sep-06 2:46
David Crow28-Sep-06 2:46 

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.