Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPipes and Child Process Pin
anqin15-Jul-03 7:26
anqin15-Jul-03 7:26 
GeneralDownload ActiveX Pin
Anonymous15-Jul-03 5:33
Anonymous15-Jul-03 5:33 
GeneralRe: Download ActiveX Pin
Iain Clarke, Warrior Programmer15-Jul-03 5:44
Iain Clarke, Warrior Programmer15-Jul-03 5:44 
GeneralRe: Download ActiveX Pin
Ryan Binns15-Jul-03 5:52
Ryan Binns15-Jul-03 5:52 
GeneralRe: Download ActiveX Pin
Iain Clarke, Warrior Programmer15-Jul-03 6:11
Iain Clarke, Warrior Programmer15-Jul-03 6:11 
GeneralRe: Download ActiveX Pin
Ryan Binns15-Jul-03 14:44
Ryan Binns15-Jul-03 14:44 
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 
If I remember your structure correctly, the first strcpy() method will work (you don't need the cast, though):
strcpy(TSimHeader_arr[0].Name, name.c_str());
What won't work is the method you're using to print it out:
cout<<endl<<"names......."<<"\n"<<TSimHeader_arr[0].Name[i];
You need to print out what you store to:
cout<<endl<<"names......."<<"\n"<<TSimHeader_arr[0].Name;
Your version was only printing one character, right?

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 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 
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 

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.