Search:

Type: Posts; User: theodorekon

Search: Search took 0.01 seconds.

  1. It doesn't work. It says: ScanXan5.java:43:...

    It doesn't work. It says:

    ScanXan5.java:43: incompatible types
    found : boolean
    required: java.lang.String
    while ((s=scanLines.hasNext())) {
    ...
  2. The problem is that when I use in the while loop...

    The problem is that when I use in the while loop the statement

    if(scanLines.next!="") {...}

    it jumps a line every time it runs the while loop. As a result the lines[] matrix only gets half of...
  3. Taking out elements from a matrix thus reducing its dimension

    Hi,
    I have written a program in Java2 which reads a txt file and stores each line of the file in a matrix called lines[]. Now what I want to do is to read through this matrix and take out some of...
Results 1 to 3 of 3