Array Sorting help!
#9

SOLVED! Thanks Guys!!

Код:
    new array[10][2];
    for(new j=0;j<10;j++)
	{
		array[j][0] = random(99); // Skill %
		array[j][1] = j; // playerid
	}
    SortDeepArray(array, 0);
    
    printf("Sorted \"array\":");
    
    for (new i = 0; i < sizeof(array); i++) {
        printf("    array[%d] = {%d, %d}", i, array[i][0], array[i][1]);
    }
Reply


Messages In This Thread
Array Sorting help! - by Unknown1234 - 23.12.2013, 15:12
Re: Array Sorting help! - by Patrick - 23.12.2013, 15:44
Re: Array Sorting help! - by Unknown1234 - 23.12.2013, 15:59
Re: Array Sorting help! - by Pottus - 23.12.2013, 16:09
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:16
Re: AW: Array Sorting help! - by Patrick - 23.12.2013, 16:24
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:47
AW: Array Sorting help! - by Nero_3D - 23.12.2013, 17:05
Re: Array Sorting help! - by Unknown1234 - 24.12.2013, 03:24

Forum Jump:


Users browsing this thread: 1 Guest(s)