qsort(cafe, n, sizeof(int), COMPARE2);


int COMPARE(const void *a, const void *b)
{
 int *x = (int*)a;
 int *y = (int*)b;

 return *x - *y;
}


이게 퀵 소트인데..


cafe[i][0] 배열과


cafe[i][1] 배열에 대한 정렬이 필요한데 이건 구분을 어떻게 해야하나여??