Well, you are reading in integer types in a text format. You usually want to do that in binary.
Can you change your song array to an array of characters?
I would like to read them as int's because I don't know anything about binary. I need to make two parallel arrays. One being an int, the other being a char. I just don't know how to read in the file into two arrays the way it is formatted. and I'm not aloud to change the file (its for a class)
Ok here is the thing, you declared the struct 'SONGS' very well, but you made a simply CRITICAL mistake. When you created SONGS think of it like an int or a char because thats what it is, A CUSTOM, USER -DEFINED, TYPE!! What you did was refering to thats type without defining a variable, heres what you need to do:
You were really close with your original code. The problem is that your input file reads a number then a character. So to make it work, you need to read the number into an array of integers (yes you can do this from a txt file) and then you need to read the character into an array of characters.