I have a scenario where i am given a file that contains info such as: (just a sample)
img01.jpg|Washington DC|aquarium|puffer fish|seahorse
where the first section is the "image" (just a made-up name, not an actual image) and the rest of the words are keywords. ive been able to separate the file fine, but part of the assignment is to have to user enter a keyword and have all "images" with those keywords be listed. i am confused on which way i should store these words.
i need to have something that can link a keyword with the "image". however, the amount of keywords for any given image is variable, so that sort of rules out fixed sized arrays, correct?