sorry if this is something obvious, i currently have to learn quickly C.
I have a readList function that reads from a .dat file, works fine. I start it by creating an