Click here to Skip to main content
15,878,996 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: port of VC98 to VS2008 problem with ATL & MFC Pin
danhass30-Mar-10 9:01
danhass30-Mar-10 9:01 
QuestionIntranet license checker Pin
Sergono26-Mar-10 7:12
Sergono26-Mar-10 7:12 
QuestionRe: Menu in dialog application, CheckMenuItem [modified] Pin
mla15426-Mar-10 7:07
mla15426-Mar-10 7:07 
AnswerRe: Menu in dialog application, CheckMenuItem Pin
mla15426-Mar-10 7:17
mla15426-Mar-10 7:17 
Questionuse custom icon on an AfxMessageBox Pin
b-rad31126-Mar-10 6:29
b-rad31126-Mar-10 6:29 
AnswerRe: use custom icon on an AfxMessageBox PinPopular
jeron126-Mar-10 7:03
jeron126-Mar-10 7:03 
GeneralRe: use custom icon on an AfxMessageBox Pin
b-rad31126-Mar-10 8:18
b-rad31126-Mar-10 8:18 
QuestionHelp with binary tree(BST) function building. Pin
Member 382253226-Mar-10 4:52
Member 382253226-Mar-10 4:52 
Hi everyone, I was wondering if you guys could help
me out on how I should go about building this function in main
to be able to search through binary tree class(it's actually called
BinarySearchTree and is virtual from a TreeNode class, but that isn't really important).

So here is the code for BST.h that I'm trying to build the function for:

in BST.H:

typedef void (*FunctionType)(TreeItemType& anItem);


some ways BST.h uses FunctionType are...

virtual void preorderTraverse(FunctionType visit);


TreeItemType is a ADT from another class called keyeditem who's node is
of the int datatype.

I need to write a function in main to be able to work with the BST traversals.
I'm using Microsoft visual studio for the solution.

Thanks in advance!
AnswerRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 5:28
David Crow26-Mar-10 5:28 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 6:45
Member 382253226-Mar-10 6:45 
GeneralRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 7:35
David Crow26-Mar-10 7:35 
AnswerRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 8:03
Member 382253226-Mar-10 8:03 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 8:09
Member 382253226-Mar-10 8:09 
GeneralRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 8:11
David Crow26-Mar-10 8:11 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 8:24
Member 382253226-Mar-10 8:24 
QuestionRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 8:36
David Crow26-Mar-10 8:36 
AnswerRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 8:55
Member 382253226-Mar-10 8:55 
AnswerRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 8:58
David Crow26-Mar-10 8:58 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 9:15
Member 382253226-Mar-10 9:15 
GeneralRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 9:29
David Crow26-Mar-10 9:29 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 9:34
Member 382253226-Mar-10 9:34 
GeneralRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 9:36
David Crow26-Mar-10 9:36 
GeneralRe: Help with binary tree(BST) function building. Pin
Member 382253226-Mar-10 9:44
Member 382253226-Mar-10 9:44 
Questionfatal error c1083 in C# Pin
sindhumahe26-Mar-10 4:13
sindhumahe26-Mar-10 4:13 
AnswerRe: fatal error c1083 in C# Pin
Chris Losinger26-Mar-10 4:17
professionalChris Losinger26-Mar-10 4:17 

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.