Search:

Type: Posts; User: bhattia2

Search: Search took 0.14 seconds.

  1. Replies
    6
    Views
    578

    Re: Stuck on .txt files java

    well heres the error i receive.

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:

    at FileMatrice.main(FileMatrice.java:13)
  2. Replies
    6
    Views
    578

    Re: Stuck on .txt files java

    Well tome i feel like the code is complete and should run and print the out file but when i run it, it runs but prints a blank .txt file
  3. Replies
    6
    Views
    578

    Stuck on .txt files java

    I have to write a program that reads two .txt files as such:

    FileA.txt
    1 2 3
    4 5 6

    FileB.txt
    0 1 2
    3 4 5
    6 7 8
  4. Replies
    6
    Views
    797

    Re: Java Program that reads .txt files?

    Sorry about that! Probably would have made it a lot easier.

    Heres the error message:

    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    The method readLine() is...
  5. Replies
    6
    Views
    797

    Re: Java Program that reads .txt files?

    I keep getting an error with the .readLine and .nextInt
  6. Replies
    6
    Views
    797

    Java Program that reads .txt files?

    I've been having a problem writing a code that would read two files that contain matrices so for example,

    FileA.txt
    1 2 3
    4 5 6
    7 8 9

    FileB.txt
    0 1 2
    3 4 5
Results 1 to 6 of 6