arrays, malloc

From: Kyle (a_at_b.c)
Date: 03/06/04

  • Next message: Doug Harrison [MVP]: "Re: arrays, malloc"
    Date: Sat, 6 Mar 2004 20:59:34 +0100
    
    

    what's the easy way of malloc'ing 2 dimensional array

    i mean i may always do

    #define GET(array,i,j,size) array[i+size*j]

    and use 1 dim array, but if it's (mallocing 2 dim) not too complicated i
    will be very happy <:


  • Next message: Doug Harrison [MVP]: "Re: arrays, malloc"
    Loading