Click here to Skip to main content
15,040,743 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRecording keystrokes Pin
hxhl955-Sep-07 18:11
Memberhxhl955-Sep-07 18:11 
QuestionRe: Recording keystrokes Pin
baerten5-Sep-07 20:59
Memberbaerten5-Sep-07 20:59 
AnswerRe: Recording keystrokes Pin
GauranG Shah6-Sep-07 0:40
MemberGauranG Shah6-Sep-07 0:40 
QuestionRe: Recording keystrokes Pin
hxhl956-Sep-07 17:13
Memberhxhl956-Sep-07 17:13 
Questionout-of-proc server COM Pin
George_George5-Sep-07 18:04
MemberGeorge_George5-Sep-07 18:04 
AnswerRe: out-of-proc server COM Pin
DevMentor.org6-Sep-07 8:23
MemberDevMentor.org6-Sep-07 8:23 
GeneralRe: out-of-proc server COM Pin
George_George6-Sep-07 17:28
MemberGeorge_George6-Sep-07 17:28 
QuestionBinary Search Trees Pin
sirtimid5-Sep-07 17:36
Membersirtimid5-Sep-07 17:36 
I have two binary tree structures shown below. The unsortedBTree has values and the sortedBTree is empty. I want to fill the sortedBTree with the values of unsortedBTree sorting them by the values of counter inserting the biggest values to the right. Can anyone please give a short sample code on how to do it without recurtion, but with a while loop?


typedef struct UNSORTEDBTREE {
int a[3];
int counter;
unsortedBTree *left;
unsortedBTree *right;
unsortedBTree *parent;
}unsortedBTree;

typedef struct SORTEDBTREE {
int a[3];
int counter;
sortedBTree *left;
sortedBTree *right;
sortedBTree *parent;
}sortedBTree;


Thanks in advance!


sirtimid
Questionweekday in number Pin
includeh105-Sep-07 16:52
Memberincludeh105-Sep-07 16:52 
AnswerRe: weekday in number Pin
bob169725-Sep-07 17:00
Memberbob169725-Sep-07 17:00 
AnswerRe: weekday in number Pin
Michael Dunn5-Sep-07 17:16
sitebuilderMichael Dunn5-Sep-07 17:16 
QuestionExtremely weird: CEdit scrollbar not redrawn after SetBitmap() operation Pin
abiemann5-Sep-07 14:58
Memberabiemann5-Sep-07 14:58 
AnswerRe: Extremely weird: CEdit scrollbar not redrawn after SetBitmap() operation Pin
Naveen5-Sep-07 16:36
MemberNaveen5-Sep-07 16:36 
GeneralRe: Extremely weird: CEdit scrollbar not redrawn after SetBitmap() operation Pin
abiemann6-Sep-07 6:27
Memberabiemann6-Sep-07 6:27 
GeneralRe: Extremely weird: CEdit scrollbar not redrawn after SetBitmap() operation Pin
Naveen6-Sep-07 14:02
MemberNaveen6-Sep-07 14:02 
QuestionGetPrivateProfileString method: problems on Windows Vista Pin
Cris5-Sep-07 10:10
MemberCris5-Sep-07 10:10 
AnswerRe: GetPrivateProfileString method: problems on Windows Vista Pin
David Crow5-Sep-07 10:38
MemberDavid Crow5-Sep-07 10:38 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
Cris5-Sep-07 10:41
MemberCris5-Sep-07 10:41 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
David Crow5-Sep-07 10:52
MemberDavid Crow5-Sep-07 10:52 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
El Corazon5-Sep-07 12:59
MemberEl Corazon5-Sep-07 12:59 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
Michael Dunn5-Sep-07 14:23
sitebuilderMichael Dunn5-Sep-07 14:23 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
El Corazon5-Sep-07 14:30
MemberEl Corazon5-Sep-07 14:30 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
Michael Dunn5-Sep-07 17:19
sitebuilderMichael Dunn5-Sep-07 17:19 
GeneralRe: GetPrivateProfileString method: problems on Windows Vista Pin
El Corazon5-Sep-07 19:03
MemberEl Corazon5-Sep-07 19:03 
QuestionCView MFC Printing Pin
NorGUI5-Sep-07 7:19
MemberNorGUI5-Sep-07 7:19 

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.