Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Question Pin
John R. Shaw25-Nov-04 6:37
John R. Shaw25-Nov-04 6:37 
GeneralRe: C++ Question Pin
toxcct25-Nov-04 6:41
toxcct25-Nov-04 6:41 
GeneralRe: C++ Question Pin
dmxdmxdmx0525-Nov-04 7:28
dmxdmxdmx0525-Nov-04 7:28 
GeneralRe: C++ Question Pin
John R. Shaw25-Nov-04 5:43
John R. Shaw25-Nov-04 5:43 
GeneralRe: C++ Question Pin
dmxdmxdmx0525-Nov-04 7:29
dmxdmxdmx0525-Nov-04 7:29 
GeneralRe: C++ Question Pin
John R. Shaw25-Nov-04 7:44
John R. Shaw25-Nov-04 7:44 
GeneralRe: C++ Question Pin
dmxdmxdmx0525-Nov-04 9:18
dmxdmxdmx0525-Nov-04 9:18 
GeneralRe: C++ Question Pin
John R. Shaw25-Nov-04 9:39
John R. Shaw25-Nov-04 9:39 
We sill want to know what a Middle Node is, strings do not have nodes. If I was asked that at an interview, that is what I would tell them.

The question does not realy make any since!

Now if the string was not a string but a series text objects (aka. nodes) strung together to represent a string (like a rich-text document), then yes a binary search would probably be best.

Note: All the text in a rich-text document (I believe internaly) is in one node. Until you change the color or font of part of the text, then is must be split up into more than one node. Each of those nodes can be accessed individualy (via code) and the attributs changed.

Oh well! If you know what a Middle Node in a string is please tell us!


INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralMFC Application Installation Problem Pin
Pradeep Samji25-Nov-04 3:50
Pradeep Samji25-Nov-04 3:50 
GeneralRe: MFC Application Installation Problem Pin
Antony M Kancidrowski25-Nov-04 4:08
Antony M Kancidrowski25-Nov-04 4:08 
GeneralRe: MFC Application Installation Problem Pin
david_gilmour25-Nov-04 17:18
david_gilmour25-Nov-04 17:18 
GeneralHelp needed in MFC Pin
Ibana25-Nov-04 3:01
Ibana25-Nov-04 3:01 
GeneralRe: Help needed in MFC Pin
Niklas L25-Nov-04 3:13
Niklas L25-Nov-04 3:13 
GeneralRe: Help needed in MFC Pin
Joaquín M López Muñoz25-Nov-04 3:21
Joaquín M López Muñoz25-Nov-04 3:21 
GeneralRe: Help needed in MFC Pin
Ibana25-Nov-04 7:23
Ibana25-Nov-04 7:23 
GeneralRe: Help needed in MFC Pin
Joaquín M López Muñoz25-Nov-04 7:31
Joaquín M López Muñoz25-Nov-04 7:31 
GeneralTimer with 1ms(accurate) resolution Pin
ManishSaha25-Nov-04 2:46
ManishSaha25-Nov-04 2:46 
GeneralRe: Timer with 1ms(accurate) resolution Pin
Joaquín M López Muñoz25-Nov-04 2:52
Joaquín M López Muñoz25-Nov-04 2:52 
GeneralReply Joaquín & toxcct Pin
ManishSaha27-Nov-04 0:46
ManishSaha27-Nov-04 0:46 
GeneralRe: Timer with 1ms(accurate) resolution Pin
toxcct25-Nov-04 2:55
toxcct25-Nov-04 2:55 
GeneralGet the number of bytes in the port queue Pin
Cedric Moonen25-Nov-04 2:08
Cedric Moonen25-Nov-04 2:08 
GeneralRe: Get the number of bytes in the port queue Pin
Joaquín M López Muñoz25-Nov-04 2:49
Joaquín M López Muñoz25-Nov-04 2:49 
GeneralRe: Get the number of bytes in the port queue Pin
Cedric Moonen25-Nov-04 2:54
Cedric Moonen25-Nov-04 2:54 
GeneralProblem with Graphics & CEdit scrolling Pin
mfc_surfer25-Nov-04 1:29
mfc_surfer25-Nov-04 1:29 
GeneralRe: Problem with Graphics & CEdit scrolling Pin
John R. Shaw25-Nov-04 6:19
John R. Shaw25-Nov-04 6: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.