Click here to Skip to main content
15,908,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What's the difference? Pin
Ben Burnett4-Aug-01 12:00
Ben Burnett4-Aug-01 12:00 
GeneralRe: Gloabl variabl, reference & pointer. Pin
Masaaki Onishi5-Aug-01 6:27
Masaaki Onishi5-Aug-01 6:27 
GeneralRe: What's the difference? Pin
Joe Woodbury5-Aug-01 9:03
professionalJoe Woodbury5-Aug-01 9:03 
Generallinked list with fast sorting Pin
4-Aug-01 4:17
suss4-Aug-01 4:17 
GeneralRe: linked list with fast sorting Pin
Christian Graus4-Aug-01 11:41
protectorChristian Graus4-Aug-01 11:41 
GeneralRe: linked list with fast sorting Pin
6-Aug-01 0:12
suss6-Aug-01 0:12 
GeneralRe: linked list with fast sorting Pin
Malcolm McMahon6-Aug-01 2:40
Malcolm McMahon6-Aug-01 2:40 
GeneralRe: linked list with fast sorting Pin
6-Aug-01 4:08
suss6-Aug-01 4:08 
Thanks for the code.
If i understand correctly, if i'm going to use your code, every node needs a keyvalue and i best not write them to disk sorted. Am i correct?

What if you would have a class with an id, name, and say integer and you want to be able to search for the id, the name and the integer value, would that mean that you have to construct the binary tree every time again for the data? Or would you have 3 binary trees for that 1 class?

Wouldn't a linked list with a simple sort ( quicksort ) be faster then or at least easier to use? Although (i could be wrong) i ahve heard that a binary search is faster.
GeneralRe: linked list with fast sorting Pin
Malcolm McMahon6-Aug-01 5:09
Malcolm McMahon6-Aug-01 5:09 
GeneralRe: linked list with fast sorting Pin
7-Aug-01 1:09
suss7-Aug-01 1:09 
GeneralThread Client\Serveur Pin
4-Aug-01 4:16
suss4-Aug-01 4:16 
GeneralRe: Thread Client\Serveur Pin
4-Aug-01 4:19
suss4-Aug-01 4:19 
GeneralRe: Thread Client\Serveur Pin
Baafie4-Aug-01 14:29
Baafie4-Aug-01 14:29 
GeneralAutomating Project Creation Pin
Steve Thresher4-Aug-01 1:52
Steve Thresher4-Aug-01 1:52 
GeneralRe: Automating Project Creation Pin
Steve Thresher4-Aug-01 2:45
Steve Thresher4-Aug-01 2:45 
GeneralRe: Automating Project Creation Pin
Steve Thresher4-Aug-01 2:48
Steve Thresher4-Aug-01 2:48 
GeneralScrolling a Bitmap in a CScrollView Pin
baywa4-Aug-01 1:13
baywa4-Aug-01 1:13 
GeneralCRichEditView::Stream() Pin
Frank Deo4-Aug-01 0:20
Frank Deo4-Aug-01 0:20 
GeneralRe: CRichEditView::Stream() Pin
Baafie4-Aug-01 2:59
Baafie4-Aug-01 2:59 
GeneralRe: CRichEditView::Stream() Pin
Frank Deo4-Aug-01 9:55
Frank Deo4-Aug-01 9:55 
GeneralRe: CRichEditView::Stream() Pin
4-Aug-01 12:46
suss4-Aug-01 12:46 
GeneralRe: CRichEditView::Stream() Pin
Frank Deo5-Aug-01 4:20
Frank Deo5-Aug-01 4:20 
Questionhow to Delete a class in visual c++? Pin
nemati3-Aug-01 21:28
nemati3-Aug-01 21:28 
AnswerRe: how to Delete a class in visual c++? Pin
Christian Graus4-Aug-01 2:40
protectorChristian Graus4-Aug-01 2:40 
GeneralRe: how to Delete a class in visual c++? Pin
Reno Tiko4-Aug-01 15:50
Reno Tiko4-Aug-01 15:50 

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.