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

C / C++ / MFC

 
GeneralRe: concat two char * variables Pin
Fatbuddha 120-Jan-10 6:46
Fatbuddha 120-Jan-10 6:46 
QuestionRe: concat two char * variables Pin
CPallini20-Jan-10 10:47
mveCPallini20-Jan-10 10:47 
AnswerRe: concat two char * variables Pin
Luc Pattyn20-Jan-10 11:18
sitebuilderLuc Pattyn20-Jan-10 11:18 
GeneralRe: concat two char * variables Pin
CPallini20-Jan-10 11:23
mveCPallini20-Jan-10 11:23 
AnswerRe: concat two char * variables [modified] Pin
santhosh-padamatinti20-Jan-10 20:13
santhosh-padamatinti20-Jan-10 20:13 
GeneralRe: concat two char * variables Pin
CPallini20-Jan-10 21:20
mveCPallini20-Jan-10 21:20 
GeneralRe: concat two char * variables Pin
Saravanan Sundaresan21-Jan-10 18:52
professionalSaravanan Sundaresan21-Jan-10 18:52 
AnswerRe: concat two char * variables Pin
Avi Berger20-Jan-10 7:11
Avi Berger20-Jan-10 7:11 
Note that in what you are doing, you are dealing with 6 variables. You are talking about the 3 char * variables, but as you said, those are pointers. What you must remember is that pointers are pointers - they are used to point to things, in this case arrays of char. These arrays are not automatically provided. You, the programmer, are responsible for providing them for the pointers to point to.

You have to keep in mind the distinction between pointer and "pointee". Once you do that, you would not say that you want to add or concatenate 2 pointers. Instead, you want to concatenate the 2 strings contained in 2 char arrays and put the result in a third char array. You use the pointers to access the char arrays.

Good luck
AnswerRe: concat two char * variables Pin
David Crow20-Jan-10 7:53
David Crow20-Jan-10 7:53 
GeneralRe: concat two char * variables Pin
Richard MacCutchan20-Jan-10 11:50
mveRichard MacCutchan20-Jan-10 11:50 
GeneralRe: concat two char * variables Pin
Fatbuddha 120-Jan-10 20:13
Fatbuddha 120-Jan-10 20:13 
GeneralRe: concat two char * variables Pin
CPallini20-Jan-10 20:51
mveCPallini20-Jan-10 20:51 
GeneralRe: concat two char * variables Pin
Richard MacCutchan20-Jan-10 22:14
mveRichard MacCutchan20-Jan-10 22:14 
QuestionRe: concat two char * variables Pin
CPallini20-Jan-10 22:19
mveCPallini20-Jan-10 22:19 
AnswerRe: concat two char * variables Pin
Richard MacCutchan20-Jan-10 23:15
mveRichard MacCutchan20-Jan-10 23:15 
GeneralRe: concat two char * variables Pin
CPallini20-Jan-10 23:29
mveCPallini20-Jan-10 23:29 
GeneralRe: concat two char * variables Pin
Richard MacCutchan20-Jan-10 23:36
mveRichard MacCutchan20-Jan-10 23:36 
QuestionModal vs Modeless dialog box Pin
msr_codeproject20-Jan-10 6:05
msr_codeproject20-Jan-10 6:05 
AnswerRe: Modal vs Modeless dialog box Pin
Richard MacCutchan20-Jan-10 6:08
mveRichard MacCutchan20-Jan-10 6:08 
AnswerRe: Modal vs Modeless dialog box Pin
Rajesh R Subramanian20-Jan-10 6:58
professionalRajesh R Subramanian20-Jan-10 6:58 
QuestionRaeding and parsing mails via POP3 Pin
VictorSotnikov20-Jan-10 4:52
VictorSotnikov20-Jan-10 4:52 
AnswerRe: Raeding and parsing mails via POP3 Pin
Richard MacCutchan20-Jan-10 5:47
mveRichard MacCutchan20-Jan-10 5:47 
AnswerRe: Raeding and parsing mails via POP3 Pin
Joe Woodbury20-Jan-10 9:48
professionalJoe Woodbury20-Jan-10 9:48 
AnswerRe: Raeding and parsing mails via POP3 Pin
Rozis20-Jan-10 14:06
Rozis20-Jan-10 14:06 
Questionproblem with stack structure implementation in C, plz help !!! Pin
hung2h20-Jan-10 3:14
hung2h20-Jan-10 3:14 

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.