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

C / C++ / MFC

 
GeneralRe: Creating XP themes [modified] Pin
Naveen7-Jun-06 21:03
Naveen7-Jun-06 21:03 
AnswerRe: Creating XP themes [modified] Pin
Hamid_RT7-Jun-06 20:55
Hamid_RT7-Jun-06 20:55 
QuestionAbout Edit box Pin
Saday Sarkar7-Jun-06 19:53
Saday Sarkar7-Jun-06 19:53 
AnswerRe: About Edit box Pin
Hamid_RT7-Jun-06 19:59
Hamid_RT7-Jun-06 19:59 
AnswerRe: About Edit box Pin
Amar Sutar7-Jun-06 20:02
Amar Sutar7-Jun-06 20:02 
AnswerRe: About Edit box Pin
Hamid_RT7-Jun-06 20:12
Hamid_RT7-Jun-06 20:12 
GeneralRe: About Edit box [modified] Pin
Saday Sarkar7-Jun-06 21:03
Saday Sarkar7-Jun-06 21:03 
Questionany ideas to improve search performance in a tree structure [modified] Pin
George_George7-Jun-06 19:52
George_George7-Jun-06 19:52 
Hello everyone,


I am developing an application which contains a tree structure. The tree structure reflects the management structure of a big company -- child node represents the employees managed by direct manager (parent node), one parent node may have multiple (various) number of child nodes (employees he/she managed in his/her department).

I need to find all the employees a manager managed in the tree structure, the direct child node, the child node's child node, ... and so on (for example, if he is a senior manager, there are multiple levels of child nodes).

Currently, I am using brute force tree traverse approach to print all (direct and indirect) child nodes -- layer by layer. The tree is very large. I am wondering whether there are any good ideas about how to improve the search performance?


thanks in advance,
George

-- modified at 1:52 Thursday 8th June, 2006
Questionabout listbox Pin
happy_ram7-Jun-06 19:45
happy_ram7-Jun-06 19:45 
AnswerRe: about listbox Pin
Naveen7-Jun-06 20:22
Naveen7-Jun-06 20:22 
QuestionRe: about listbox Pin
happy_ram7-Jun-06 20:31
happy_ram7-Jun-06 20:31 
AnswerRe: about listbox Pin
Naveen7-Jun-06 20:34
Naveen7-Jun-06 20:34 
GeneralRe: about listbox [modified] Pin
happy_ram7-Jun-06 20:38
happy_ram7-Jun-06 20:38 
GeneralRe: about listbox [modified] Pin
Naveen7-Jun-06 21:02
Naveen7-Jun-06 21:02 
QuestionRe: about listbox [modified] Pin
happy_ram7-Jun-06 21:13
happy_ram7-Jun-06 21:13 
AnswerRe: about listbox [modified] Pin
Naveen7-Jun-06 22:09
Naveen7-Jun-06 22:09 
GeneralRe: about listbox Pin
vasusree7-Jun-06 22:53
vasusree7-Jun-06 22:53 
QuestionWord File Pin
Sharath867-Jun-06 19:39
Sharath867-Jun-06 19:39 
AnswerRe: Word File Pin
NiceNaidu7-Jun-06 19:48
NiceNaidu7-Jun-06 19:48 
GeneralRe: Word File Pin
Steve Echols7-Jun-06 19:51
Steve Echols7-Jun-06 19:51 
GeneralRe: Word File Pin
Sharath867-Jun-06 20:11
Sharath867-Jun-06 20:11 
AnswerRe: Word File Pin
Hamid_RT7-Jun-06 20:02
Hamid_RT7-Jun-06 20:02 
QuestionLogin paswrd problem [modified] Pin
p_7-Jun-06 19:26
p_7-Jun-06 19:26 
QuestionRe: Login paswrd problem Pin
Hamid_RT7-Jun-06 19:35
Hamid_RT7-Jun-06 19:35 
AnswerRe: Login paswrd problem Pin
p_7-Jun-06 20:33
p_7-Jun-06 20:33 

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.