What value(s) of i are you passing?
I'm passing 0 to 19, but this function causes it to hang.
Eh, I'm tired and this was just for practice so if anyone comes up with an answer, that's cool, if not then meh who cares.
Last edited on
Not sure what its meant to do, but line 12 gets input from the user, not the file.
EDIT: Or is it supposed to store input into the file?
Last edited on
Ahhh, right. Thanks I was tired and typed in the wrong one, works now.