Click here to Skip to main content
14,272,315 members

C / C++ / MFC

 
AnswerRe: [C++]execute other program on second monitor Pin
Richard MacCutchan30-Mar-15 23:13
protectorRichard MacCutchan30-Mar-15 23:13 
QuestionUnwanted radio button click Pin
lor7530-Mar-15 8:29
memberlor7530-Mar-15 8:29 
AnswerRe: Unwanted radio button click Pin
David Crow30-Mar-15 9:24
memberDavid Crow30-Mar-15 9:24 
GeneralRe: Unwanted radio button click Pin
lor7531-Mar-15 8:47
memberlor7531-Mar-15 8:47 
GeneralRe: Unwanted radio button click Pin
David Crow31-Mar-15 9:23
memberDavid Crow31-Mar-15 9:23 
GeneralRe: Unwanted radio button click Pin
lor7531-Mar-15 20:42
memberlor7531-Mar-15 20:42 
GeneralRe: Unwanted radio button click Pin
David Crow1-Apr-15 2:14
memberDavid Crow1-Apr-15 2:14 
QuestionBinary Tree Recursion Problem Pin
Member 1156724330-Mar-15 5:21
memberMember 1156724330-Mar-15 5:21 
Does somebody have an idea why will the following happen:


printf("Min Value: %d\n", minValue(root));
printf("Max Value: %d\n", maxValue(root));
// not sure why line below throws segmentation core
//printf("Min Val: %d Max Val: %d\n", minValue(root), maxValue(root));

minValue and maxValue are recursive functions returning the min/max value of a binary tree, when called separately as in lines 1 & 2 they work fine, but when called from the same printf statement I get a segmenation fault in linux.

Thanks!
GeneralRe: Binary Tree Recursion Problem Pin
David Crow30-Mar-15 6:01
memberDavid Crow30-Mar-15 6:01 
SuggestionRe: Binary Tree Recursion Problem Pin
Member 1156724330-Mar-15 6:09
memberMember 1156724330-Mar-15 6:09 
QuestionRe: Binary Tree Recursion Problem Pin
David Crow30-Mar-15 7:30
memberDavid Crow30-Mar-15 7:30 
AnswerRe: Binary Tree Recursion Problem Pin
Member 1156724330-Mar-15 8:04
memberMember 1156724330-Mar-15 8:04 
QuestionRe: Binary Tree Recursion Problem Pin
David Crow30-Mar-15 9:27
memberDavid Crow30-Mar-15 9:27 
AnswerRe: Binary Tree Recursion Problem Pin
Member 1156724330-Mar-15 9:31
memberMember 1156724330-Mar-15 9:31 
AnswerRe: Binary Tree Recursion Problem Pin
David Crow30-Mar-15 9:47
memberDavid Crow30-Mar-15 9:47 
GeneralRe: Binary Tree Recursion Problem Pin
Member 1156724330-Mar-15 10:09
memberMember 1156724330-Mar-15 10:09 
QuestionCpu temperature to obtain the sample code in visual c/c++ . Pin
Dandy Smile29-Mar-15 9:57
memberDandy Smile29-Mar-15 9:57 
AnswerRe: Cpu temperature to obtain the sample code in visual c/c++ . Pin
Richard MacCutchan29-Mar-15 21:14
protectorRichard MacCutchan29-Mar-15 21:14 
GeneralRe: Cpu temperature to obtain the sample code in visual c/c++ . Pin
David Crow30-Mar-15 3:26
memberDavid Crow30-Mar-15 3:26 
QuestionNeed to declare a class ( defined in cpp file ) as friend Pin
Raj Abhishek27-Mar-15 0:59
memberRaj Abhishek27-Mar-15 0:59 
AnswerRe: Need to declare a class ( defined in cpp file ) as friend Pin
Richard Andrew x6427-Mar-15 8:26
professionalRichard Andrew x6427-Mar-15 8:26 
AnswerRe: Need to declare a class ( defined in cpp file ) as friend Pin
Freak3030-Mar-15 1:14
memberFreak3030-Mar-15 1:14 
AnswerRe: Need to declare a class ( defined in cpp file ) as friend Pin
Stefan_Lang8-Apr-15 4:39
memberStefan_Lang8-Apr-15 4:39 
QuestionLinkage Problem in MSVC 2008 (wxWidget 3.0 Application) Pin
Member 1125835326-Mar-15 20:59
memberMember 1125835326-Mar-15 20:59 
AnswerRe: Linkage Problem Pin
Richard MacCutchan26-Mar-15 21:16
protectorRichard MacCutchan26-Mar-15 21:16 

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.