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

C / C++ / MFC

 
AnswerRe: how to transfer Cstring to float Pin
Niklas L20-Apr-11 0:26
Niklas L20-Apr-11 0:26 
QuestionLocalizing a MFC application Pin
kle8vi19-Apr-11 22:32
kle8vi19-Apr-11 22:32 
AnswerRe: Localizing a MFC application Pin
Hans Dietrich19-Apr-11 23:41
mentorHans Dietrich19-Apr-11 23:41 
QuestionRe: Localizing a MFC application Pin
pix_programmer20-Apr-11 3:28
pix_programmer20-Apr-11 3:28 
QuestionFTP download status call back problem Pin
rajniyadav1a19-Apr-11 20:24
rajniyadav1a19-Apr-11 20:24 
AnswerRe: FTP download status call back problem Pin
Rajesh R Subramanian19-Apr-11 20:25
professionalRajesh R Subramanian19-Apr-11 20:25 
QuestionBasic array problem Pin
VCProgrammer19-Apr-11 19:28
VCProgrammer19-Apr-11 19:28 
AnswerRe: Basic array problem Pin
Cool_Dev19-Apr-11 19:51
Cool_Dev19-Apr-11 19:51 
AfxMessageBox() takes a pointer to string (terminated by '\0' character) as argument. Thus it shows the characters till the '\0' character, from the pointer you provided.
Initializing a character array with a string appends a '\0' character to the end by default.

To show 'p' only:
char msg[2];
msg[0] = *(array+15);
msg[1] = '\0';
AfxMessageBox(msg);


It is basic thing and hope it is clear now. Smile | :)
AnswerRe: Basic array problem Pin
Rajesh R Subramanian19-Apr-11 20:16
professionalRajesh R Subramanian19-Apr-11 20:16 
GeneralRe: Basic array problem Pin
VCProgrammer19-Apr-11 20:57
VCProgrammer19-Apr-11 20:57 
GeneralRe: Basic array problem Pin
Cool_Dev19-Apr-11 21:24
Cool_Dev19-Apr-11 21:24 
AnswerRe: Basic array problem Pin
Niklas L19-Apr-11 22:15
Niklas L19-Apr-11 22:15 
Questioni having problem to connect my MFC form to Access database using sql query.. Pin
tohard19-Apr-11 14:51
tohard19-Apr-11 14:51 
AnswerRe: i having problem to connect my MFC form to Access database using sql query.. Pin
Rajesh R Subramanian19-Apr-11 20:23
professionalRajesh R Subramanian19-Apr-11 20:23 
QuestionShared Library o DLL? Pin
Andy20219-Apr-11 6:36
Andy20219-Apr-11 6:36 
AnswerRe: Shared Library o DLL? Pin
Albert Holguin19-Apr-11 7:30
professionalAlbert Holguin19-Apr-11 7:30 
QuestionDeskband (XP) Problem.. Pin
nitin319-Apr-11 5:54
nitin319-Apr-11 5:54 
QuestionProblems with getting data from a Edit Control [modified] Pin
jhoesche19-Apr-11 4:54
jhoesche19-Apr-11 4:54 
AnswerRe: Problems with getting data from a Edit Control Pin
David Crow19-Apr-11 7:13
David Crow19-Apr-11 7:13 
GeneralRe: Problems with getting data from a Edit Control Pin
jhoesche19-Apr-11 8:49
jhoesche19-Apr-11 8:49 
AnswerRe: Problems with getting data from a Edit Control Pin
Hans Dietrich19-Apr-11 11:37
mentorHans Dietrich19-Apr-11 11:37 
GeneralRe: Problems with getting data from a Edit Control Pin
jhoesche19-Apr-11 12:12
jhoesche19-Apr-11 12:12 
GeneralRe: Problems with getting data from a Edit Control [modified] Pin
David Crow20-Apr-11 3:47
David Crow20-Apr-11 3:47 
GeneralRe: Problems with getting data from a Edit Control Pin
jhoesche20-Apr-11 5:56
jhoesche20-Apr-11 5:56 
GeneralRe: Problems with getting data from a Edit Control Pin
David Crow20-Apr-11 6:54
David Crow20-Apr-11 6:54 

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.