Hi
I have three array which is array1,array2 and array3 as shown below:
double array1[3] = "1.6,1.3,1.9"
double array2[5] = "2.1,3.6,4.6,8.2,9.9"
double array3[5];
I would like to extract two elements from array1 which is 1.6, 1.3 and three elements from array2 which is 2.1,3.6,4.6
the final extracted element will be concatenated which is "1.6,1.3,2.1,3.6,4.6" and assign to array3.
May I know what is the best way to do it?
Thank you.



LinkBack URL
About LinkBacks


