Why is it not working!?

finished
Last edited on
Um... why are you subtracting 4 before returning the value of totalLines?

-Albatross
Because i ignore the first 4 lines of the text file so when im reading the file i only need the text under the ones i've ignored, or is that wrong =/
Okay.

I'm missing something inherently obvious here, because it looks like nothing is being read out of that file in your readData function, but totalLines works just fine.

-Albatross
Last edited on
Yeah =/ I am not sure why either
I don't think it's reading the players names correctly but I can't seem to figure out why -_-
What happened to this thread?
For some strange reason, some posters go back and edit their original post when their problem is solved. It's unfortunate because now the thread is useless to anyone with a similar problem.
I've never understood that either.
Me neither. In fact, so many of us don't understand it that we have an active thread in the lounge about how to get rid of this sort of behavior (via limiting editing rights).

-Albatross
I suspect it is an attempt to hide getting help on homework problems from the teacher. Either way, I'm sure there's nothing ground breaking that we're missing out on.
Eh. There wasn't really, just a problem with reading stuff into arrays.

-Albatross
Topic archived. No new replies allowed.