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

C / C++ / MFC

 
GeneralRe: How to copy null terminatd buffer Pin
CPallini8-May-08 2:49
mveCPallini8-May-08 2:49 
GeneralRe: How to copy null terminatd buffer Pin
Rajesh R Subramanian8-May-08 2:54
professionalRajesh R Subramanian8-May-08 2:54 
QuestionRe: How to copy null terminatd buffer Pin
CPallini8-May-08 2:35
mveCPallini8-May-08 2:35 
AnswerRe: How to copy null terminatd buffer Pin
Rajesh R Subramanian8-May-08 2:33
professionalRajesh R Subramanian8-May-08 2:33 
GeneralRe: How to copy null terminatd buffer Pin
CPallini8-May-08 2:46
mveCPallini8-May-08 2:46 
GeneralRe: How to copy null terminatd buffer Pin
Rajesh R Subramanian8-May-08 2:47
professionalRajesh R Subramanian8-May-08 2:47 
GeneralThank you all for the replies - I got it working :) Pin
Programm3r8-May-08 2:54
Programm3r8-May-08 2:54 
AnswerRe: How to copy null terminatd buffer Pin
David Crow8-May-08 3:43
David Crow8-May-08 3:43 
Programm3r wrote:
I know memcpy will work but it will also wipe the data that is already in the buffer.


One of the basic rules of physics states that no two objects can occupy the same space. Of course memcpy() will wipe out the destination, but so will any other function.

While concatenation is a completely different subject, memcpy() can still be used.

"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


JokeRe: How to copy null terminatd buffer [modified] Pin
CPallini8-May-08 3:57
mveCPallini8-May-08 3:57 
GeneralRe: How to copy null terminated buffer Pin
Programm3r8-May-08 4:21
Programm3r8-May-08 4:21 
JokeRe: How to copy null terminatd buffer Pin
Nelek8-May-08 11:23
protectorNelek8-May-08 11:23 
Question[Message Deleted] Pin
Mohanraj D8-May-08 1:38
Mohanraj D8-May-08 1:38 
AnswerRe: error in MFC Pin
Cedric Moonen8-May-08 1:41
Cedric Moonen8-May-08 1:41 
GeneralRe: error in MFC Pin
Iain Clarke, Warrior Programmer8-May-08 3:18
Iain Clarke, Warrior Programmer8-May-08 3:18 
AnswerRe: [Message Deleted] Pin
Hamid_RT8-May-08 5:29
Hamid_RT8-May-08 5:29 
QuestionMail Proxy Pin
Anubhava Dimri8-May-08 1:16
Anubhava Dimri8-May-08 1:16 
AnswerRe: Mail Proxy Pin
Rajesh R Subramanian8-May-08 1:26
professionalRajesh R Subramanian8-May-08 1:26 
JokeRe: Mail Proxy Pin
Cedric Moonen8-May-08 1:27
Cedric Moonen8-May-08 1:27 
GeneralRe: Mail Proxy Pin
cp98768-May-08 2:08
cp98768-May-08 2:08 
AnswerRe: Mail Proxy Pin
Cranky8-May-08 2:36
Cranky8-May-08 2:36 
GeneralRe: Mail Proxy Pin
Anubhava Dimri8-May-08 2:52
Anubhava Dimri8-May-08 2:52 
AnswerRe: Mail Proxy Pin
Hamid_RT8-May-08 5:29
Hamid_RT8-May-08 5:29 
Questionhow to make inactive window active Pin
V K 27-May-08 23:49
V K 27-May-08 23:49 
AnswerRe: how to make inactive window active Pin
Nitheesh George7-May-08 23:54
Nitheesh George7-May-08 23:54 
AnswerRe: how to make inactive window active Pin
Michael Schubert7-May-08 23:54
Michael Schubert7-May-08 23: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.