// 2D array [dim1][dim2] : short** myarray = NULL; ... myarray = (short**)sys_malloc( (int)dim1length * sizeof(short*) ); for(i=0;i<dim1length ;i++) { myarray[i] = (short*)sys_malloc( (int)dim2length * sizeof(short) ); for(j=0;j<dim2length;j++) { (myarray[i])[j] = 0; } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de