A
al jones
I need to create a collection of data and I'm not sure what approach to
take - any suggestions appreciated.
For example, using mp3's, If I collect:
1) song title
2) file name
3) producer
4) artist
5) bit rate
and the user wants to see one list sorted by artist and another by title
what's the general concensus for the structure to use. I realize a
database would be most efficient but the program I'm working with has none,
and I'm not sure I want to create one given the 'fluidity' of a users
'collection' of song.
As I understand it array.sort expects a one dimensional array. I don't see
how an array of a structure could be used to sort by various 'columns'.
Hope this is sufficiently clear. Suggestions??
Thanks //al
take - any suggestions appreciated.
For example, using mp3's, If I collect:
1) song title
2) file name
3) producer
4) artist
5) bit rate
and the user wants to see one list sorted by artist and another by title
what's the general concensus for the structure to use. I realize a
database would be most efficient but the program I'm working with has none,
and I'm not sure I want to create one given the 'fluidity' of a users
'collection' of song.
As I understand it array.sort expects a one dimensional array. I don't see
how an array of a structure could be used to sort by various 'columns'.
Hope this is sufficiently clear. Suggestions??
Thanks //al