Can you be more specific about your question?
Try to do it yourself, and ask us if you get stuck with something.
You can create a class Track, and all the tracks maybe contained into a vector of Tracks, or you can also create a class called TrackCollection which will handle all the tracks and all the operations needed for them.
kim00000
Junior Poster in Training
93 posts since Oct 2009
Reputation Points: 12
Solved Threads: 11
If the blocks are in sequential order with no unused numbers then just store then in a vector or array and use the index value as the block number.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343