Search:

Type: Posts; User: m49er704

Search: Search took 0.11 seconds.

  1. Re: Reading data from a file into parallel arrays

    well i edited my code to look like this with one loop




    for(int i = 0; i < characters.length; i++)
    {
    char characs = input.nextLine().charAt(0);
    String syms =...
  2. Re: Reading data from a file into parallel arrays

    im not quite sure. I think its reading the line at 1 in the position of the array. it goes through the loop 36 times because there are 36 lines in the file
    it stores the data at position i and...
  3. Re: Reading data from a file into parallel arrays

    Yes but isn't that the method you use when using scanner methods for a string?
  4. Re: Reading data from a file into parallel arrays

    It's a program for translating a sentence into morse code. The file morse.txt
    Has characters 1-9 . , ? and A-Z
    And the morse code translation right next to character
    I want to read the contents...
  5. Reading data from a file into parallel arrays

    hi all,

    I am having a problem reading the data from a text file into my array. it skips every other character and string in the text file

    heres my code

    import java.io.*;
    import...
Results 1 to 5 of 5