here's what i'm trying to do.
i have an array of integers. i don't apriori know the size of this array. (i get it from my i/p file.) now i first calloc the array by using an integer pointer. then i go back to my i/p file. what i have there are the (integer) values of each of the elements of the array. my question is, how do i read these elements while i loop over the array size?
further, each of the array elements form the size of other arrays used in the program. so i've to calloc those arrays using these elements. what is the correct syntax for these calloc statements?
i'd be very thankful if someone can answer these questions.
thanks for your time,
murali.