comparison CbC-examples/quicksort/quicksort_test.cbc @ 35:3f5886e153cb

modify cbc_replace_args
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Dec 2009 20:49:36 +0900
parents 2476ed92181e
children
comparison
equal deleted inserted replaced
34:5f3bba7b355c 35:3f5886e153cb
95 int b; 95 int b;
96 //print_array(arg, size); 96 //print_array(arg, size);
97 b = check_sort(arg, size); 97 b = check_sort(arg, size);
98 if (b) { 98 if (b) {
99 printf("sorting successful!\n"); 99 printf("sorting successful!\n");
100 exit(-1); 100 exit(EXIT_SUCCESS);
101 } else { 101 } else {
102 printf("sorting failure! \n"); 102 printf("sorting failure! \n");
103 exit(0); 103 exit(EXIT_FAILURE);
104 } 104 }
105 } 105 }
106 106