Keeping track of static external structure
Hi guys...I need some quick help getting going on this. I need to create an array of 20 structures and keep track of them as static variables. The structure is as follows: (it's object oriented C)
typedef struct sched_unit
The schedObj is the main data that i need to keep track of. These objects will be added and deleted from the array as needed. Do I need to declare another static pointer to this structure and then allocate memory for it as needed. What is the best way to go about doing this??