Hi. Can anyone tell me how they would move an array into a empty properly formatted table using the CURSOR? For simplicity say the array is created with structure below:
and in program created an array called myarray2[SIZE]Code:#define SIZE 100 struct myarray{ char firstname[20]; char middlename[20]; char lastname[40]; } myarray;
in the program the array was filled from array[0]...array[99]
and the next step was to place the contents of the array into a new table that was already created with proper formatting for firstname,middlename,lastname how would it be accomplished using a CURSOR?
Thanks for any advice.
-Carl