Results 1 to 3 of 3
  1. #1
    megalomitis is offline Member
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0

    Default How to read/write txt in Java

    Hi i am beginner and i have a problem
    How can you read a txt file ,which every line finish with 'enter',
    and write into a matrix NxM where n is the characters of the line and M is the number of the lines?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    What have you tried?

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by r035198x View Post
    What have you tried?
    Yes what you have done? Please show your effort here first. Then we can help you. I don't think that anyone wants to do your homework at all.

Similar Threads

  1. Replies: 1
    Last Post: 07-25-2009, 05:53 PM
  2. How to read first 9 bytes and write in...?
    By aRTx in forum New To Java
    Replies: 8
    Last Post: 03-26-2009, 02:54 PM
  3. Executable java to read and write to a txt file
    By njoymirror in forum New To Java
    Replies: 2
    Last Post: 03-21-2009, 01:19 AM
  4. How Read and Write XMl files using Java
    By tjs in forum SWT / JFace
    Replies: 0
    Last Post: 02-23-2009, 12:19 PM
  5. Read and Write file
    By mrdestroy in forum New To Java
    Replies: 13
    Last Post: 10-31-2008, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •