Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registry path from handle Pin
David Crow20-Sep-03 17:01
David Crow20-Sep-03 17:01 
GeneralRe: Registry path from handle Pin
Jason Henderson20-Sep-03 17:54
Jason Henderson20-Sep-03 17:54 
GeneralProblem with Rich Edit Control Pin
raheela20-Sep-03 7:54
raheela20-Sep-03 7:54 
GeneralRe: Problem with Rich Edit Control Pin
Mike Dimmick20-Sep-03 12:54
Mike Dimmick20-Sep-03 12:54 
Generalproblem while using activeX control in regular dll using shared MFC DLL Pin
bhalchan20-Sep-03 5:57
bhalchan20-Sep-03 5:57 
Generalpassing data structures Pin
Sirrius20-Sep-03 5:09
Sirrius20-Sep-03 5:09 
GeneralRe: passing data structures Pin
Mike Dimmick20-Sep-03 12:59
Mike Dimmick20-Sep-03 12:59 
GeneralRe: passing data structures Pin
David Crow20-Sep-03 17:13
David Crow20-Sep-03 17:13 
But you have not indicated what specific problem you are having. I'm assuming you have single-stepped through each line of code using the debugger. If not, that would be a good place to start. Simply putting the code together, running the program, and noting the output, does not indicate whether your program is doing the right or wrong thing.

Are items added to the tree as expected? Can you traverse the tree in prefix, infix, and postfix order? Does changing your code to the following help:

void output(treeNode *name, List &l)
{
    if (smaller != NULL)
        output(smaller, l);
 
    cout << name << endl;
    // l.insertNode(l);	
 
    if (bigger != NULL)
        output(bigger, l);
}



Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralRe: passing data structures Pin
Sirrius20-Sep-03 17:34
Sirrius20-Sep-03 17:34 
GeneralFile shredder Pin
alex.barylski20-Sep-03 4:58
alex.barylski20-Sep-03 4:58 
GeneralRe: File shredder Pin
JWood20-Sep-03 5:51
JWood20-Sep-03 5:51 
GeneralRe: File shredder Pin
Neville Franks20-Sep-03 12:24
Neville Franks20-Sep-03 12:24 
GeneralRe: File shredder Pin
alex.barylski21-Sep-03 20:29
alex.barylski21-Sep-03 20:29 
GeneralRe: File shredder Pin
ZoogieZork20-Sep-03 12:42
ZoogieZork20-Sep-03 12:42 
GeneralRe: File shredder Pin
alex.barylski21-Sep-03 20:31
alex.barylski21-Sep-03 20:31 
Generalswitch help Pin
coda_x20-Sep-03 1:28
coda_x20-Sep-03 1:28 
GeneralRe: switch help Pin
Rickard Andersson2020-Sep-03 2:11
Rickard Andersson2020-Sep-03 2:11 
GeneralRe: switch help Pin
Michael Dunn20-Sep-03 4:36
sitebuilderMichael Dunn20-Sep-03 4:36 
GeneralMigration from VisualAge C++ for windows to Visual Studio 6.0 - MFC 6.0. Pin
Md Saleem Navalur20-Sep-03 1:23
Md Saleem Navalur20-Sep-03 1:23 
GeneralRe: Migration from VisualAge C++ for windows to Visual Studio 6.0 - MFC 6.0. Pin
Gary R. Wheeler20-Sep-03 3:13
Gary R. Wheeler20-Sep-03 3:13 
GeneralAvoid Flickering in MFC Pin
cberam20-Sep-03 0:23
cberam20-Sep-03 0:23 
GeneralRe: Avoid Flickering in MFC Pin
LunaticFringe20-Sep-03 1:45
LunaticFringe20-Sep-03 1:45 
QuestionWhy TextOut and DrawText can't display certain characters that Notepad can? Pin
hoc_ngo19-Sep-03 23:52
hoc_ngo19-Sep-03 23:52 
AnswerRe: Why TextOut and DrawText can't display certain characters that Notepad can? Pin
Neville Franks20-Sep-03 0:08
Neville Franks20-Sep-03 0:08 
GeneralRe: Why TextOut and DrawText can't display certain characters that Notepad can? Pin
hoc_ngo20-Sep-03 11:20
hoc_ngo20-Sep-03 11:20 

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.