아직 초보자라;;
gsl 라이브러리 이용해서 코딩을 했는데.
나름대로는 코딩에 문제가 없다고 생각하는데..
안돌아갑니다..ㅜ.ㅜ
도움 좀 주세요''
[code:1]
#include<stdio.h>
#include<gsl/gsl_sort_int.h>
#include<gsl/gsl_heapsort.h>
int input[20],output[20];
int compare(const int * a, const int * b)
{
if (*a > *b)
return 1;
else if (*a < *b)
return -1;
else
return 0;
}
int main(){
int i;
printf("숫자 10개를 입력하시오:");