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...
Type: Posts; User: vysero
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...
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...
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")) {
...
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...
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...