dr1500
01-26-2003, 10:03 PM
In C, is it possible to have a two-dimensional array of structs (a matrix)?
something like:
struct mystruct xyz[15][15];
thanks
something like:
struct mystruct xyz[15][15];
thanks
|
Click to See Complete Forum and Search --> : c programming dr1500 01-26-2003, 10:03 PM In C, is it possible to have a two-dimensional array of structs (a matrix)? something like: struct mystruct xyz[15][15]; thanks wapcaplet 01-26-2003, 10:14 PM As far as I know, this is possible. If you have trouble with that, it might work to use a 2D array of pointers to structs instead. dr1500 01-26-2003, 11:42 PM thanks, i got it now. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |