I have an array that has types char, char, int, and enum type Category.
I have to search the array for the entries matching a certain Category. How would I do this? I can do a linear search for finding entries based on the other parts of the array, but how would i search for one in the enum type?
Each entryList entry has a title(char array), an author (char array), type (Category), and size (int).
I already have a function that searches the entryList for a matching title, but this function I am asking about has to print the titles of all the entries in a certain category. This is where I am stuck.