Search:

Type: Posts; User: vysero

Search: Search took 0.10 seconds.

  1. Re: Trouble with converting strings to integers, 2D arrays

    Okay so instead of running the loop the size of the original array I need to run it for the size of the second array, is that what your saying? This worked but apparently my attempt at neglecting...
  2. Re: Trouble with converting strings to integers, 2D arrays

    Honestly, I thought that's what I was doing with my first condition statement namely:


    if(array[i][j] != array[0][j])

    That should say hey ignore the first row.

    Now if I set the second...
  3. Re: Trouble with converting strings to integers, 2D arrays

    So I guess what I am trying to avoid is this. Lets say I set up my code like:


    if(array[i][j] != array[0][j]){

    if (array[i][j].equals("\u221E")) {

    ...
  4. Re: Trouble with converting strings to integers, 2D arrays

    Yes I haven't had too much trouble with separating row 0 data. The trouble is with saving the following rows into a separate array. Specifically, this is how I am attempting to ignore the first row...
  5. Trouble with converting strings to integers, 2D arrays

    Eventually I would like to write create a minimum spanning tree using Prim's algorithm. However, I am have having trouble with reading data from a csv text file and converting those strings into...
Results 1 to 5 of 5