Why is it not working!?

May 25, 2010 at 12:54am
finished
Last edited on May 25, 2010 at 8:13am
May 25, 2010 at 1:01am
Um... why are you subtracting 4 before returning the value of totalLines?

-Albatross
May 25, 2010 at 1:20am
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 =/
May 25, 2010 at 1:42am
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 May 25, 2010 at 1:55am
May 25, 2010 at 2:01am
Yeah =/ I am not sure why either
May 25, 2010 at 4:52am
I don't think it's reading the players names correctly but I can't seem to figure out why -_-
May 25, 2010 at 2:37pm
What happened to this thread?
May 25, 2010 at 8:24pm
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.
May 25, 2010 at 8:42pm
I've never understood that either.
May 25, 2010 at 8:44pm
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
May 25, 2010 at 9:08pm
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.
May 25, 2010 at 9:52pm
Eh. There wasn't really, just a problem with reading stuff into arrays.

-Albatross
Topic archived. No new replies allowed.