Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionprogram wont enter main()-function until character input is given Pin
maladuk9-Jan-06 10:22
maladuk9-Jan-06 10:22 
QuestionRe: program wont enter main()-function until character input is given Pin
David Crow9-Jan-06 10:30
David Crow9-Jan-06 10:30 
AnswerRe: program wont enter main()-function until character input is given Pin
maladuk10-Jan-06 10:21
maladuk10-Jan-06 10:21 
Questionmalloc causing program crash Pin
KellyR9-Jan-06 9:47
KellyR9-Jan-06 9:47 
AnswerRe: malloc causing program crash Pin
David Crow9-Jan-06 10:07
David Crow9-Jan-06 10:07 
AnswerRe: malloc causing program crash Pin
PJ Arends9-Jan-06 10:09
professionalPJ Arends9-Jan-06 10:09 
GeneralRe: malloc causing program crash Pin
KellyR9-Jan-06 10:16
KellyR9-Jan-06 10:16 
GeneralRe: malloc causing program crash Pin
mcljava12-Jan-06 19:01
mcljava12-Jan-06 19:01 
In C/C++ when u malloc() memory you allocate heap, which is memory. Whereas your recursion calls are like the proverbial stack of plates. Each pass takes one more away until they are all gone.

You could increase the stack space in you program but that will only buy you a temporary fix. Instead you should probably revist the design of your app and decide if recursion is really needed.

Good Luck
Mike Luster
QuestionMaking a Simple Installation CD. Pin
jerry1211a9-Jan-06 7:26
jerry1211a9-Jan-06 7:26 
AnswerRe: Making a Simple Installation CD. Pin
Rage9-Jan-06 8:09
professionalRage9-Jan-06 8:09 
AnswerRe: Making a Simple Installation CD. Pin
ddmcr9-Jan-06 9:04
ddmcr9-Jan-06 9:04 
AnswerRe: Making a Simple Installation CD. Pin
ThatsAlok9-Jan-06 19:31
ThatsAlok9-Jan-06 19:31 
GeneralRe: Making a Simple Installation CD. Pin
Rage9-Jan-06 21:29
professionalRage9-Jan-06 21:29 
AnswerRe: Making a Simple Installation CD. Pin
Ravi Bhavnani10-Jan-06 7:40
professionalRavi Bhavnani10-Jan-06 7:40 
QuestionRetrieve output of console app? Pin
Cpt Rick9-Jan-06 5:05
Cpt Rick9-Jan-06 5:05 
AnswerRe: Retrieve output of console app? Pin
jhwurmbach9-Jan-06 5:25
jhwurmbach9-Jan-06 5:25 
AnswerRe: Retrieve output of console app? Pin
Rage9-Jan-06 6:00
professionalRage9-Jan-06 6:00 
AnswerRe: Retrieve output of console app? Pin
Taka Muraoka9-Jan-06 6:14
Taka Muraoka9-Jan-06 6:14 
AnswerRe: Retrieve output of console app? Pin
David Crow9-Jan-06 10:10
David Crow9-Jan-06 10:10 
AnswerRe: Retrieve output of console app? Pin
kakan9-Jan-06 19:14
professionalkakan9-Jan-06 19:14 
AnswerRe: Retrieve output of console app? Pin
Cpt Rick10-Jan-06 1:11
Cpt Rick10-Jan-06 1:11 
QuestionDetecting system global window hooks? Pin
Jörgen Sigvardsson9-Jan-06 4:53
Jörgen Sigvardsson9-Jan-06 4:53 
AnswerRe: Detecting system global window hooks? Pin
Nish Nishant9-Jan-06 5:10
sitebuilderNish Nishant9-Jan-06 5:10 
GeneralRe: Detecting system global window hooks? Pin
Jörgen Sigvardsson9-Jan-06 5:28
Jörgen Sigvardsson9-Jan-06 5:28 
GeneralRe: Detecting system global window hooks? Pin
Nish Nishant9-Jan-06 5:48
sitebuilderNish Nishant9-Jan-06 5:48 

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.