Search:

Type: Posts; User: Kimimaru

Search: Search took 0.10 seconds.

  1. Re: Read A File and Store Values into a 2-Dimensional Integer Array?

    Sorry for double posting, but I just want to say that this particular assignment is due Friday and I'd like to get it done as soon as I can, considering all the other work I have to get done this...
  2. Re: Read A File and Store Values into a 2-Dimensional Integer Array?

    //Stores data into an array
    while ((line = reader.readLine()) != null)
    {
    StringTokenizer line2 = new StringTokenizer(line);

    while (line2.hasMoreTokens())
    ...
  3. Re: Read A File and Store Values into a 2-Dimensional Integer Array?

    Why would I need to remove all the spaces? I need to have a space after each number.

    Also, when did I tokenize a string? My professor told us we had to use the InputStream, but he barely explained...
  4. (SOLVED) Read A File and Store Values into a 2-Dimensional Integer Array?

    Hello! On top of the other program I have is one that deals with taking values from a file, "input.txt" (click on the file name), storing those values into a 2D array, and printing them out like so:...
Results 1 to 4 of 4