Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    2,362

    Re: reading .txt files

    That's the idea, and then you'd just repeat that idea for each directory you find- which is why recursion is your friend.
  2. Replies
    5
    Views
    2,362

    Re: reading .txt files

    Like I said, recursion is your friend here. Hint: a File instance can represent a directory. In which case, it has handy methods for listing all of the Files inside that directory (which themselves...
  3. Replies
    5
    Views
    2,362

    Re: reading .txt files

    What have you tried? Where are you stuck? Is this for homework? Recursion is your friend here.
Results 1 to 3 of 3