Click here to Skip to main content
15,915,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Common File Dialog (SetControlText) - Vista Pin
TomJena6-Dec-09 10:16
TomJena6-Dec-09 10:16 
Questionhow do you code for the automatic generation of employee no Pin
paradise_517-Oct-06 3:31
paradise_517-Oct-06 3:31 
AnswerRe: how do you code for the automatic generation of employee no Pin
Cedric Moonen17-Oct-06 3:34
Cedric Moonen17-Oct-06 3:34 
AnswerRe: how do you code for the automatic generation of employee no Pin
David Crow17-Oct-06 3:56
David Crow17-Oct-06 3:56 
Questionhow to create two views for one doc in MDI Pin
chethu66517-Oct-06 2:25
chethu66517-Oct-06 2:25 
QuestionConstructing a Tree Pin
llp00na17-Oct-06 1:59
llp00na17-Oct-06 1:59 
AnswerRe: Constructing a Tree Pin
me17-Oct-06 3:52
me17-Oct-06 3:52 
GeneralRe: Constructing a Tree Pin
llp00na17-Oct-06 5:39
llp00na17-Oct-06 5:39 
thanx for your reply,

The problem is exactly how you understood it. except for your proposed tree,

             A (3/4 occurrences = 75%)
       B ( 2/4 occurrences = 50%) E (1/4 occurrences = 25%)
C (1 occurrence=25%) A (1 occurrence= 25%) D (1 occurrence=25%)
D (1 occurrence=25%) E (1 occurrence= 25%) D (1 occurrence= 25%)
E (1 occurrence=25%) E (1 occurrence= 25%) F (1 occurrence= 25%)


unfortunately i cant show you the arrows of the tree. the tree you proposed is correct. if you check level 4 and level 5 of the tree you will see 2 nodes labelled D and 2 nodes labelled E. The only difference between my tree and yours is that I have grouped the two similar nodes in one node (and increased the % to 50 instead of 25% for each node). If i would represent my tree i would have two arrows coming from Node C and Node D (level three) towards Node D in level 4. So a node can get have two parents or more.

Why did i think a tree would be appropriate? I need to store the data of my files into a data structure for later processing. Please if you do have any other / better suggestion i would be grateful.

Regards

llp00na

QuestionRe: Constructing a Tree Pin
David Crow17-Oct-06 3:53
David Crow17-Oct-06 3:53 
AnswerRe: Constructing a Tree Pin
llp00na17-Oct-06 5:46
llp00na17-Oct-06 5:46 
Questionhow resource editor works in Vc++ Pin
AghaJaffer17-Oct-06 1:58
AghaJaffer17-Oct-06 1:58 
AnswerRe: how resource editor works in Vc++ Pin
Mark Salsbery17-Oct-06 6:55
Mark Salsbery17-Oct-06 6:55 
Questionhow resource editor works in Vc++ Pin
AghaJaffer17-Oct-06 1:56
AghaJaffer17-Oct-06 1:56 
QuestionCArchive Pin
Mohammad Khodaii17-Oct-06 1:46
Mohammad Khodaii17-Oct-06 1:46 
AnswerRe: CArchive Pin
David Crow17-Oct-06 2:54
David Crow17-Oct-06 2:54 
Questioncreating a new window Pin
prithaa17-Oct-06 1:25
prithaa17-Oct-06 1:25 
QuestionToolTip Pin
zon_cpp17-Oct-06 1:06
zon_cpp17-Oct-06 1:06 
AnswerRe: ToolTip Pin
Hamid_RT17-Oct-06 1:08
Hamid_RT17-Oct-06 1:08 
AnswerRe: ToolTip Pin
toxcct17-Oct-06 1:34
toxcct17-Oct-06 1:34 
QuestionOne Question ?.. Pin
Sakthiu17-Oct-06 0:56
Sakthiu17-Oct-06 0:56 
QuestionRe: One Question ?.. Pin
David Crow17-Oct-06 3:04
David Crow17-Oct-06 3:04 
AnswerRe: One Question ?.. Pin
Sakthiu17-Oct-06 3:50
Sakthiu17-Oct-06 3:50 
QuestionRe: One Question ?.. Pin
David Crow17-Oct-06 4:04
David Crow17-Oct-06 4:04 
QuestionWhy I can't beging thread from myclass constructor? Pin
NoName II17-Oct-06 0:45
NoName II17-Oct-06 0:45 
AnswerRe: Why I can't beging thread from myclass constructor? Pin
Cedric Moonen17-Oct-06 1:05
Cedric Moonen17-Oct-06 1:05 

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.