STORING IN NEW ARRAY


Lets Say I have the line of "7/10/2008 04:54 PM: 4.2334;3.6547" which contains date and time until the first ';', and two double values separated by ';' and already stored in array.

what I want now is to read the lines from that location(array) and separately put them into new different arrays... ie. store date, time and remaining two values into different arrays ..
.

Last edited on
char first_array[100];

char i =0;
for(i=0; first_array[i] != ';' i++)
{


}
then you do the same but don't make i 0 again
Topic archived. No new replies allowed.