hi everyone, im currently very frustrated with this same problem that i can crack so any help is greatly appreciated. i currently have an array of arrays, a 2D array of distances. from this i want to take one of the rows of data from it and store it in another array to perform operations on it. So far my code for this method is:
the 2d array is edge andi want to row 0 of the values in it to go into my 1d array called ce. Wen i compile the program, i get the error message: incompatible types found: int[] required: int on the return ce; line Thanks in advance
thansk remco, but it still gives me the same error. im not great with java, so keith could you explain how i go about making the changes your suggesting. Thanks again
sorry guys, it was my fault, i hadnt ready Remko's solution closely enough. i hadnt put the braces after the public static int on the 1st line. Genuine thanks guys, it was so simple but its been bugging me for hours. Thanks again