Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error in VC++ Pin
ThatsAlok13-Nov-07 0:47
ThatsAlok13-Nov-07 0:47 
GeneralRe: Error in VC++ Pin
David Crow13-Nov-07 3:21
David Crow13-Nov-07 3:21 
QuestionSHCreateStreamOnFileW problem Pin
josip cagalj12-Nov-07 23:37
josip cagalj12-Nov-07 23:37 
AnswerRe: SHCreateStreamOnFileW problem Pin
Nelek13-Nov-07 22:05
protectorNelek13-Nov-07 22:05 
GeneralRe: SHCreateStreamOnFileW problem Pin
josip cagalj13-Nov-07 23:20
josip cagalj13-Nov-07 23:20 
GeneralRe: SHCreateStreamOnFileW problem Pin
Nelek14-Nov-07 4:01
protectorNelek14-Nov-07 4:01 
Questionremove tool bar from mobile screen during running program Pin
Miss_F12-Nov-07 23:37
Miss_F12-Nov-07 23:37 
QuestionAccess the data in a string buffer array Pin
Programm3r12-Nov-07 23:34
Programm3r12-Nov-07 23:34 
Hi all,

I have the following std::string array. How can I get hold of the first elements data? I have tried the following without success:
std::string openDoorTags[50];
char copyToBuf[128]={0}
strcpy(copyToBuf, openDoorTags[0].c_str());


Can anyone please help?

Many thanks in advance
Regards,


The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Access the data in a string buffer array Pin
Cedric Moonen12-Nov-07 23:49
Cedric Moonen12-Nov-07 23:49 
QuestionRe: Access the data in a string buffer array Pin
Programm3r12-Nov-07 23:53
Programm3r12-Nov-07 23:53 
AnswerRe: Access the data in a string buffer array Pin
Cedric Moonen12-Nov-07 23:59
Cedric Moonen12-Nov-07 23:59 
GeneralRe: Access the data in a string buffer array Pin
Programm3r13-Nov-07 0:08
Programm3r13-Nov-07 0:08 
AnswerRe: Access the data in a string buffer array Pin
ThatsAlok13-Nov-07 0:24
ThatsAlok13-Nov-07 0:24 
GeneralRe: Access the data in a string buffer array Pin
Programm3r13-Nov-07 0:34
Programm3r13-Nov-07 0:34 
AnswerRe: Access the data in a string buffer array Pin
David Crow13-Nov-07 3:23
David Crow13-Nov-07 3:23 
Questionhello problem with displaying the controls Pin
chethu66512-Nov-07 23:07
chethu66512-Nov-07 23:07 
AnswerRe: hello problem with displaying the controls Pin
Nelek13-Nov-07 21:59
protectorNelek13-Nov-07 21:59 
GeneralRe: hello problem with displaying the controls Pin
chethu66513-Nov-07 22:06
chethu66513-Nov-07 22:06 
GeneralRe: hello problem with displaying the controls Pin
Nelek14-Nov-07 3:58
protectorNelek14-Nov-07 3:58 
QuestionCheck box in column header of a CListCtrl. Pin
Paresh Chitte12-Nov-07 23:06
Paresh Chitte12-Nov-07 23:06 
AnswerRe: Check box in column header of a CListCtrl. Pin
josip cagalj12-Nov-07 23:56
josip cagalj12-Nov-07 23:56 
GeneralRe: Check box in column header of a CListCtrl. Pin
Paresh Chitte13-Nov-07 0:05
Paresh Chitte13-Nov-07 0:05 
QuestionRe: Check box in column header of a CListCtrl. Pin
David Crow13-Nov-07 3:27
David Crow13-Nov-07 3:27 
AnswerRe: Check box in column header of a CListCtrl. Pin
_AnsHUMAN_ 12-Nov-07 23:59
_AnsHUMAN_ 12-Nov-07 23:59 
GeneralRe: Check box in column header of a CListCtrl. Pin
Paresh Chitte13-Nov-07 0:09
Paresh Chitte13-Nov-07 0:09 

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.