Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 4:31
johnstonsk15-Jul-03 4:31 
AnswerRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 5:05
Ryan Binns15-Jul-03 5:05 
GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 5:21
johnstonsk15-Jul-03 5:21 
GeneralRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 5:48
Ryan Binns15-Jul-03 5:48 
GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 6:11
johnstonsk15-Jul-03 6:11 
GeneralRe: Is there any way to get this to work CString??? Pin
David Crow15-Jul-03 7:34
David Crow15-Jul-03 7:34 
GeneralRe: Is there any way to get this to work CString??? Pin
John M. Drescher15-Jul-03 7:59
John M. Drescher15-Jul-03 7:59 
GeneralRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 14:40
Ryan Binns15-Jul-03 14:40 
The first one uses less memory.

Are you wanting to transmit the information across a serial port or network of something like that? If you are, you can't use the second one - string internally stores the text as a pointer, so if you transmit it, you just transmit the pointer, not the text it points to. In this case, you'll have to use the first option. Just remember to increase your array size to fit your string in Smile | :)

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 15:20
johnstonsk15-Jul-03 15:20 
AnswerRe: Is there any way to get this to work CString??? Pin
Shay Harel15-Jul-03 7:54
Shay Harel15-Jul-03 7:54 
AnswerRe: Is there any way to get this to work CString??? Pin
John M. Drescher15-Jul-03 8:03
John M. Drescher15-Jul-03 8:03 
GeneralRegistry values of an external PC Pin
Anonymous15-Jul-03 4:21
Anonymous15-Jul-03 4:21 
GeneralRe: Registry values of an external PC Pin
basementman15-Jul-03 4:27
basementman15-Jul-03 4:27 
GeneralAdjusting the overall contrast and brightness Pin
oliver.hu15-Jul-03 4:19
oliver.hu15-Jul-03 4:19 
GeneralRe: Adjusting the overall contrast and brightness Pin
Ryan Binns15-Jul-03 5:08
Ryan Binns15-Jul-03 5:08 
GeneralRe: Adjusting the overall contrast and brightness Pin
oliver.hu15-Jul-03 7:31
oliver.hu15-Jul-03 7:31 
GeneralRe: Adjusting the overall contrast and brightness Pin
John M. Drescher15-Jul-03 8:06
John M. Drescher15-Jul-03 8:06 
GeneralCreate CEdit dynamicly Pin
dzenan15-Jul-03 3:06
dzenan15-Jul-03 3:06 
GeneralRe: Create CEdit dynamicly Pin
Cedric Moonen15-Jul-03 3:44
Cedric Moonen15-Jul-03 3:44 
GeneralRe: Create CEdit dynamicly Pin
dzenan15-Jul-03 4:02
dzenan15-Jul-03 4:02 
GeneralRe: Create CEdit dynamicly Pin
Cedric Moonen15-Jul-03 4:19
Cedric Moonen15-Jul-03 4:19 
GeneralRe: Create CEdit dynamicly Pin
dzenan15-Jul-03 4:35
dzenan15-Jul-03 4:35 
GeneralRe: Create CEdit dynamicly Pin
Navin15-Jul-03 6:40
Navin15-Jul-03 6:40 
GeneralRe: Create CEdit dynamicly Pin
Cyberizen15-Jul-03 8:50
Cyberizen15-Jul-03 8:50 
GeneralRe: Create CEdit dynamicly Pin
Iain Clarke, Warrior Programmer15-Jul-03 5:18
Iain Clarke, Warrior Programmer15-Jul-03 5:18 

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.