-
Pointers and Arrays
hello, I need some help... I have some data that is pre-determined, they are 7 different processes, and each process has little "jobs" that are an integers of time.
So I loaded all of the data into 7 arrays of structs. Now I need to dynamically put a single element from each array into a list, perform operations on those in the list until it is empty, and then get a new list from those 7 arrays... How can I do this?
I was thinking using a linked list, but my data is predetermined. I do however need to dynamically move through those 7 arrays of structs to get the info I need.
Thanks for any help!
-
>I was thinking using a linked list, but my data is predetermined.
so? why should that make a difference?
a linked list still would be easiest way.
-
Ok, but how can I implement this?
-
However you'd like ;)
Better get to coding...
-
Thanks for your help.
Can anyone else point me in the right direction?