Say we have two arrays:
double *matrix=new double[100];
double *array=new double[10];
And we want to copy 10 elements from matrix[80:89] to array using memcpy.
Any quick solutions?
Say we have two arrays:
double *matrix=new double[100];
double *array=new double[10];
And we want to copy 10 elements from matrix[80:89] to array using memcpy.
Any quick solutions?