Click here to Skip to main content
15,921,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I break up a string? Pin
keegan23-Jul-03 3:45
keegan23-Jul-03 3:45 
GeneralRe: How do I break up a string? Pin
Tom Wright23-Jul-03 3:56
Tom Wright23-Jul-03 3:56 
GeneralRe: How do I break up a string? Pin
David Crow23-Jul-03 4:03
David Crow23-Jul-03 4:03 
AnswerRe: How do I break up a string? Pin
Alexander M.,23-Jul-03 4:11
Alexander M.,23-Jul-03 4:11 
AnswerRe: How do I break up a string? Pin
LittleYellowBird23-Jul-03 4:27
LittleYellowBird23-Jul-03 4:27 
GeneralRe: How do I break up a string? Pin
Tom Wright23-Jul-03 5:02
Tom Wright23-Jul-03 5:02 
GeneralRe: How do I break up a string? Pin
AlexO23-Jul-03 6:41
AlexO23-Jul-03 6:41 
GeneralRe: How do I break up a string? Pin
LittleYellowBird24-Jul-03 2:19
LittleYellowBird24-Jul-03 2:19 
I think you are right and you should be able to write a long string into c1 and read the characters that overflow from c2 and c3. I think that using a union as well as a struct would be the safest way to do it because a union ensures that the data is stored and retreived from the same area. Unions are normally used for things like accessing the individual bytes in a float.

Also be aware that your data will be stored in arrays of chars not CStrings and you can't just use them like CStrings.

Hope you get it working,
Cheers

Ali
Generallistctrl with large number of items Pin
pranavamhari23-Jul-03 3:36
pranavamhari23-Jul-03 3:36 
GeneralRe: listctrl with large number of items Pin
Maximilien23-Jul-03 3:46
Maximilien23-Jul-03 3:46 
GeneralRe: listctrl with large number of items Pin
David Crow23-Jul-03 4:13
David Crow23-Jul-03 4:13 
GeneralRe: listctrl with large number of items Pin
pranavamhari23-Jul-03 15:53
pranavamhari23-Jul-03 15:53 
GeneralRe: listctrl with large number of items Pin
David Crow24-Jul-03 2:23
David Crow24-Jul-03 2:23 
GeneralRe: listctrl with large number of items Pin
pranavamhari23-Jul-03 15:51
pranavamhari23-Jul-03 15:51 
GeneralRe: listctrl with large number of items Pin
Alexander M.,23-Jul-03 4:06
Alexander M.,23-Jul-03 4:06 
GeneralIf you really don't wanna use Virtual or Owner draw... Pin
Abin23-Jul-03 16:28
Abin23-Jul-03 16:28 
QuestionListCtrl background color control? Pin
spaced_out23-Jul-03 3:32
spaced_out23-Jul-03 3:32 
AnswerRe: ListCtrl background color control? Pin
Alexander M.,23-Jul-03 4:12
Alexander M.,23-Jul-03 4:12 
GeneralRe: ListCtrl background color control? Pin
spaced_out23-Jul-03 5:04
spaced_out23-Jul-03 5:04 
GeneralPreventing a space in an edit box Pin
keegan23-Jul-03 3:31
keegan23-Jul-03 3:31 
GeneralRe: Preventing a space in an edit box Pin
David Crow23-Jul-03 3:33
David Crow23-Jul-03 3:33 
GeneralRe: Preventing a space in an edit box Pin
valikac23-Jul-03 5:05
valikac23-Jul-03 5:05 
GeneralRe: Preventing a space in an edit box Pin
Ryan Binns23-Jul-03 5:17
Ryan Binns23-Jul-03 5:17 
GeneralSerialization of Data from MFC C++ and Java over a Socket Stream Pin
SeanV23-Jul-03 2:49
SeanV23-Jul-03 2:49 
GeneralSource Files going missing in VC++ IDE Pin
John Oliver23-Jul-03 2:40
John Oliver23-Jul-03 2:40 

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.