Essentially an "array of pointers" problem
This is definitely my problem area of C. Can anyone point me to a decent tutorial/faq on this? I can't seem to find one on this site but I may well be wrong!
My problem is essentially this:
I need to make an array of arrays (m of them) of different sizes - altho helpfully each array is one int less than the previous.
I get m from the user then use:
to make each array of a given size. I know this is a big mess ("parse error before int") but I can't find any help on getting around it.
for(i=0; i<N; i++)
And the moral of the tale is...
... always use google!
http://www.eskimo.com/~scs/cclass/int/sx9b.html (in case anyone else is interested!)