I have a struct. I want to declare a pointer to that struct. Now I want 10 of those structs. How is this declared? I have tried (call the struct foo for example):
when I make a call to test->whatever or test->whatever it seems to always write to the first element (the 0th of the array).
I think what I'm getting is an array of pointers. I want a pointer to an array of structs.
How do I delare this? Thanks.