Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Long pointer to character C++ PinmemberStefan_Lang28-Nov-12 7:07 
GeneralRe: Long pointer to character C++ PinmemberDavidCrow28-Nov-12 8:56 
GeneralRe: Long pointer to character C++ PinmemberStefan_Lang28-Nov-12 23:03 
AnswerRe: Long pointer to character C++ PinmvpCPallini28-Nov-12 8:48 
AnswerRe: Long pointer to character C++ Pinmembersajeesh.c30-Nov-12 19:35 
AnswerRe: Long pointer to character C++ [modified] PinmemberApril Fans13-Dec-12 19:06 
Questionproblem in c with linux Pinmembera1_shay28-Nov-12 3:23 
AnswerRe: problem in c with linux PinmvpCPallini28-Nov-12 4:07 
SuggestionRe: problem in c with linux PinmvpRichard MacCutchan28-Nov-12 4:11 
GeneralRe: problem in c with linux Pinmembera1_shay28-Nov-12 22:35 
GeneralRe: problem in c with linux PinmvpRichard MacCutchan29-Nov-12 0:04 
AnswerRe: problem in c with linux Pinmembersajeesh.c30-Nov-12 19:40 
QuestionMerging Arrays Pinmemberpix_programmer27-Nov-12 22:57 
AnswerRe: Merging Arrays PinmemberAndy41127-Nov-12 23:48 
OK, I had to delete my first answer, because it was a C# solution. Sorry. Now my brain is switsched in C-mode Smile | :)
 
You can use memcpy. But allways be aware of the size of the target array! It has to be large enough to take all of the elements.
 
int a[] = { 2, 4, 6};
int b[] = { 3, 5, 7};
 
int c[6];
 
memcpy(c, a, sizeof(a));
memcpy(c + 3, b, sizeof(b)); // + 3 because the first 3 elements are 
// allready in use
 
Hope it helps.
AnswerRe: Merging Arrays PinmvpCPallini28-Nov-12 0:09 
JokeRe: Merging Arrays PinmvpRichard MacCutchan28-Nov-12 0:45 
JokeRe: Merging Arrays PinmvpCPallini28-Nov-12 0:58 
GeneralRe: Merging Arrays PinmemberDavidCrow28-Nov-12 6:36 
AnswerRe: Merging Arrays PinmemberStefan_Lang28-Nov-12 3:45 
AnswerRe: Merging Arrays Pinmembersajeesh.c30-Nov-12 19:47 
QuestionHow to use ribbon in MFC Activex control PinmemberLamourou27-Nov-12 21:23 
AnswerRe: How to use ribbon in MFC Activex control PinmvpRichard MacCutchan28-Nov-12 0:44 
GeneralMessage Removed PinmemberLamourou28-Nov-12 1:26 
GeneralRe: How to use ribbon in MFC Activex control PinmvpRichard MacCutchan28-Nov-12 2:10 
Questionhow to use more than one rc file in vc6 project at the same time when compiling project [modified] Pinmemberyingkou27-Nov-12 20:59 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmvpRichard MacCutchan28-Nov-12 0:42 
GeneralRe: how to use more than one rc file in vc6 project at the same time when compiling project Pinmemberyingkou28-Nov-12 15:35 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmemberDavidCrow28-Nov-12 18:33 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmemberFreak3029-Nov-12 0:33 
Questiontransparency in 32bit bmp in vs2010 Pinmemberyogeshs27-Nov-12 20:21 
AnswerRe: transparency in 32bit bmp in vs2010 PinmemberHadi Dayvary27-Nov-12 22:42 
GeneralRe: transparency in 32bit bmp in vs2010 Pinmemberyogeshs28-Nov-12 0:11 
GeneralRe: transparency in 32bit bmp in vs2010 PinmemberHadi Dayvary28-Nov-12 1:00 
QuestionHow To Use Macro In dsp file(VC6.0 *.dsp file) Pinmemberyingkou27-Nov-12 15:59 
SuggestionRe: How To Use Macro In dsp file(VC6.0 *.dsp file) PinmemberAlbert Holguin27-Nov-12 17:30 
GeneralRe: How To Use Macro In dsp file(VC6.0 *.dsp file) Pinmemberyingkou28-Nov-12 22:50 
GeneralRe: How To Use Macro In dsp file(VC6.0 *.dsp file) PinmemberAlbert Holguin29-Nov-12 5:55 
QuestionA class for operations with Large Integer Numbers PinmemberPahanuch27-Nov-12 13:39 
AnswerRe: A class for operations with Large Integer Numbers PinmemberAlbert Holguin27-Nov-12 17:34 
AnswerRe: A class for operations with Large Integer Numbers PinmemberStefan_Lang28-Nov-12 4:01 
QuestionSetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal27-Nov-12 7:39 
AnswerRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmvpRichard MacCutchan27-Nov-12 7:50 
AnswerRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberJochen Arndt27-Nov-12 23:54 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal28-Nov-12 5:50 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberJochen Arndt28-Nov-12 6:35 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal28-Nov-12 8:03 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberJochen Arndt28-Nov-12 9:19 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal29-Nov-12 6:52 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberJochen Arndt29-Nov-12 7:49 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal29-Nov-12 9:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid