james Last

james Last

  • NA
  • 9
  • 0

Array of classes or structures?

May 26 2006 6:29 AM

Hi,

I have a number of queue structures. I want to have multiple instances of these,

i.e   Instance 1        Instance 2        Instance 3      ...
      ------------        ------------        ------------
      queueA             queueB               queueC

I was thinking of usind a structure or a class to store the queues and then having an array of theses structures or classes.

As I am only storing queues what is the best object to hold them, a class, a structue or another data structure?

Thanks
Macca


Answers (1)