Can somebody help me...!!!! This is terrible!!!
:( Arggg........I've stucked on this problem for 2 weeks.....my question is:
I'm supposed to use calloc() or malloc() to create a dynamic data structure (a.k.a: Dynamic 2D Array).
I'm able to allocate memory sucessfully to create a 2D array, but my problem is: How do I insert values into the empty array which I created using calloc() or malloc()....??
If I were to read the data from a file and place the data into the Dynamic 2D array......ermmm...how to do it..??
I'm new in C, so hopefully anyone of you who see my post, please kindly give me your advice....and don't leave me alone....All help will be GREATLY appreciated.......Thanks!!!