hope you guys can help me! I know what I want to do in words but am finding difficulty in putting it in to code.
Basically, when my program starts I want it to check whether the file it uses has any data in it. If it does not, then I want to initialise a certain element of a struct. If it does, then I don't!
Problem I have is how do I check whether the file has any data in it?