::EDITED:::::::
Okay wait.. nevermind the 4 D array.... how would I make a 1D array of structs?
I've done a typedef of a struct. and i've made a makeArray that uses calloc and returns a pointer to the struct type
i have :: Blah foo = (Blah *) calloc (1024, sizeof(Blah) ) // where Blah is my struct and foo, hopefully an array?
would this allow me to access the array using indexing such as foo[1020] ???
Okay wait.. nevermind the 4 D array.... how would I make a 1D array of structs?
I've done a typedef of a struct. and i've made a makeArray that uses calloc and returns a pointer to the struct type
i have :: Blah foo = (Blah *) calloc (1024, sizeof(Blah) ) // where Blah is my struct and foo, hopefully an array?
would this allow me to access the array using indexing such as foo[1020] ???