Hey, thanks for the answer...I eventually worked it out by about 1 am :) Got the same result...good to know that I was on the right track...thanks for the response :)
Hey,
I'm a java programmer, and am quite new to C.
I know how to allocate memory dynamically for most things such as arrays and structures, but don't know how to (if it is possible at all) to allocate memory for a 2D array.
I tried something like the following but it doesn't work:
int**...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.