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

C / C++ / MFC

 
GeneralRe: very Urgent Pin
11-Jan-02 22:43
suss11-Jan-02 22:43 
GeneralRe: very Urgent Pin
Christian Graus12-Jan-02 1:21
protectorChristian Graus12-Jan-02 1:21 
GeneralRe: very Urgent Pin
Nish Nishant12-Jan-02 3:02
sitebuilderNish Nishant12-Jan-02 3:02 
GeneralRECT Problem.. Pin
Neha11-Jan-02 21:18
Neha11-Jan-02 21:18 
GeneralRe: RECT Problem..[edited] Pin
Nish Nishant11-Jan-02 21:45
sitebuilderNish Nishant11-Jan-02 21:45 
GeneralRe: RECT Problem.. Pin
Christian Graus12-Jan-02 1:22
protectorChristian Graus12-Jan-02 1:22 
GeneralRe: RECT Problem.. Pin
Nish Nishant12-Jan-02 2:58
sitebuilderNish Nishant12-Jan-02 2:58 
GeneralSetting background color of a checkbox Pin
Bobby Ward11-Jan-02 20:52
Bobby Ward11-Jan-02 20:52 
GeneralRe: Setting background color of a checkbox Pin
Nish Nishant11-Jan-02 21:34
sitebuilderNish Nishant11-Jan-02 21:34 
GeneralRe: Setting background color of a checkbox Pin
Bobby Ward12-Jan-02 1:10
Bobby Ward12-Jan-02 1:10 
GeneralRe: Setting background color of a checkbox Pin
l a u r e n12-Jan-02 1:16
l a u r e n12-Jan-02 1:16 
GeneralRe: Setting background color of a checkbox Pin
Bobby Ward12-Jan-02 11:29
Bobby Ward12-Jan-02 11:29 
GeneralRe: Setting background color of a checkbox Pin
Christian Graus12-Jan-02 11:39
protectorChristian Graus12-Jan-02 11:39 
GeneralSave device context to file Pin
11-Jan-02 20:28
suss11-Jan-02 20:28 
GeneralRe: Save device context to file Pin
Christian Graus12-Jan-02 1:23
protectorChristian Graus12-Jan-02 1:23 
GeneralSQL Server Pin
Mazdak11-Jan-02 18:26
Mazdak11-Jan-02 18:26 
GeneralRe: SQL Server Pin
l a u r e n11-Jan-02 21:29
l a u r e n11-Jan-02 21:29 
GeneralMFC MULTITHREADING CLIENT Pin
11-Jan-02 18:16
suss11-Jan-02 18:16 
GeneralRe: MFC MULTITHREADING CLIENT Pin
Nish Nishant11-Jan-02 20:28
sitebuilderNish Nishant11-Jan-02 20:28 
GeneralARG_TYPE in CArray Pin
11-Jan-02 17:14
suss11-Jan-02 17:14 
GeneralRe: ARG_TYPE in CArray Pin
Michael Dunn11-Jan-02 17:19
sitebuilderMichael Dunn11-Jan-02 17:19 
Generalusing memcpy for non-char arrays Pin
moredip11-Jan-02 13:19
moredip11-Jan-02 13:19 
Ok, I'm want to copy the contents of one double array into another; ie

double *topArray;
double *Array;
...
...
topArray = new double[foo];
Array = new double[foo*4];
...
...
memcpy( Array[0], topArray, sizeof(double)*foo );


I thought that using memcpy() would work, but it doesn't. I guess because the arrays aren't chars

Is there any way to do this other than using for loops? as the arrays are both contiguous in memory it seems that memcpy() or similar would do the job quicker and neater.

TIA,

Pete
GeneralRe: using memcpy for non-char arrays Pin
Nish Nishant11-Jan-02 13:38
sitebuilderNish Nishant11-Jan-02 13:38 
GeneralRe: using memcpy for non-char arrays Pin
l a u r e n11-Jan-02 21:31
l a u r e n11-Jan-02 21:31 
GeneralToolTips in Modeless dialog Pin
Ruslan11-Jan-02 11:34
Ruslan11-Jan-02 11:34 

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.