Reading in text file and comparing records

Discussion in 'Java' started by Craig, Mar 15, 2005.

  1. Craig

    Craig Guest

    1) How do I read in a text file into Java? i.e. one line at a time and store
    each line in an array?

    2) If I have two arrays, one large and a smaller one containing a selection
    of the elements in the large array, how do I perform a comparison of the two
    arrays which finds any elements in the large array which are missing from
    the small array?
    Craig, Mar 15, 2005
    #1
    1. Advertising

  2. Thomas Kellerer, Mar 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Milo Woodward
    Replies:
    6
    Views:
    7,879
    Georg Bauhaus
    Aug 28, 2003
  2. Luke Airig
    Replies:
    0
    Views:
    776
    Luke Airig
    Dec 31, 2003
  3. Replies:
    0
    Views:
    524
  4. Dan

    Delete records or update records

    Dan, May 10, 2004, in forum: ASP General
    Replies:
    1
    Views:
    455
    Ray at
    May 10, 2004
  5. Replies:
    3
    Views:
    645
    Anthony Jones
    Nov 2, 2006
Loading...

Share This Page