I understand why that was happening now! Thank you so much for your explanation, it helped a lot. I have applied your corrections and it works perfectly. Thanks!
Type: Posts; User: incxx
I understand why that was happening now! Thank you so much for your explanation, it helped a lot. I have applied your corrections and it works perfectly. Thanks!
This is what is on that line:
while (newArray[j][mydimension] > pivot[mydimension]) {
j--;
}
I believe my problem may be when I add 1 to the dimensions in the constructors,...
I have an object and client class created which prints coordinates in order of their distance from the origin. The client class asks the user how many dimensions they want the array to have (x,y or...