Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: programming Pin
Hamid_RT12-Oct-06 6:39
Hamid_RT12-Oct-06 6:39 
GeneralRe: programming Pin
led mike12-Oct-06 8:12
led mike12-Oct-06 8:12 
GeneralRe: programming Pin
Hamid_RT12-Oct-06 19:48
Hamid_RT12-Oct-06 19:48 
AnswerRe: programming Pin
Mark Salsbery12-Oct-06 10:02
Mark Salsbery12-Oct-06 10:02 
GeneralRe: programming Pin
Christian Graus12-Oct-06 10:11
protectorChristian Graus12-Oct-06 10:11 
GeneralRe: programming Pin
Mark Salsbery12-Oct-06 10:26
Mark Salsbery12-Oct-06 10:26 
QuestionConstructing a tree Pin
llp00na12-Oct-06 4:25
llp00na12-Oct-06 4:25 
QuestionRe: Constructing a tree Pin
David Crow12-Oct-06 5:56
David Crow12-Oct-06 5:56 
llp00na wrote:
File 1: File 2: File 3:
A A B
B E A
C D D
D D F
E F E


You've not used alignment correctly (use the <pre> tags) so I'm unclear as to what the three files look like.

llp00na wrote:
Consequently File 3 will be ignored.


Why?

llp00na wrote:
The resulting tree will be something like
A (100%)
B (50%) E (50%)
C (50%) D (50%)
D (100%)
E (50%) E (50%)


Does this tree branch to the right, or does it branch downward? Again, alignment would make the difference here.

llp00na wrote:
SO basically the program should go through the files and construct a tree with a % value of each node. every time branching occurs the % will be divided depending on the number of children.


What exactly does this mean? Use percentages other than 100 and 50 so that we can see how the files relate to the nodes.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


Questionrepresent string as its DWORD value Pin
Makakuin12-Oct-06 3:37
Makakuin12-Oct-06 3:37 
AnswerRe: represent string as its DWORD value Pin
Mark Salsbery12-Oct-06 4:48
Mark Salsbery12-Oct-06 4:48 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 7:20
Makakuin12-Oct-06 7:20 
GeneralRe: represent string as its DWORD value Pin
Mark Salsbery12-Oct-06 7:43
Mark Salsbery12-Oct-06 7:43 
AnswerRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 7:24
Zac Howland12-Oct-06 7:24 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 7:41
Makakuin12-Oct-06 7:41 
GeneralRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 7:56
Zac Howland12-Oct-06 7:56 
GeneralRe: represent string as its DWORD value [modified] Pin
Makakuin12-Oct-06 9:09
Makakuin12-Oct-06 9:09 
GeneralRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 9:16
Zac Howland12-Oct-06 9:16 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 10:00
Makakuin12-Oct-06 10:00 
GeneralRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 10:03
Zac Howland12-Oct-06 10:03 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 9:28
Makakuin12-Oct-06 9:28 
QuestionRe: represent string as its DWORD value Pin
David Crow12-Oct-06 9:34
David Crow12-Oct-06 9:34 
QuestionResource.h File Checking Pin
Andy20212-Oct-06 3:12
Andy20212-Oct-06 3:12 
AnswerRe: Resource.h File Checking Pin
Hamid_RT12-Oct-06 3:20
Hamid_RT12-Oct-06 3:20 
GeneralRe: Resource.h File Checking Pin
David Crow12-Oct-06 3:50
David Crow12-Oct-06 3:50 
GeneralRe: Resource.h File Checking Pin
Maximilien12-Oct-06 7:20
Maximilien12-Oct-06 7: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.