Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,679

    Re: Help printing from an array using outFile

    Check your inner loop. For starters why is it looping numTheaters times? What if the numTheaters was 10 but the first theater only had 2 movies, it would try and loop 8 more times.
  2. Replies
    6
    Views
    1,679

    Re: Help printing from an array using outFile

    No you would need to nest the loops inside each other.

    for each theatre {
    get list of movies
    for each movie {
    do something
    }
    }
  3. Replies
    6
    Views
    1,679

    Re: Help printing from an array using outFile

    You have one loop iterating over the theaterObject array. What about the movieList array?
Results 1 to 3 of 3