Thanks Mr Raghuram!
I tried my best to fix my problems.The program dont notice about errors any more. However, it can input the array and do merge sort as I expected. Who can help me, please?
[code=c]
#include<stdio. h>
#include<stdlib .h>
void mergesort(int a[], int low, int high);
int main(void)
{
int array[50];
int i;
/*Load some random into array
for...
User Profile
Collapse
-
-
C implementation of merge sort
Hi all,
I've just copy a part of C source code for my C applet. My program is about merge sort and array implementation. When I run, I find that it has a lot of errors. Even I try my best to fix the errors, It does not run. Please help me to solve my problem.
I will post my source code here:
#include<stdio. h>
#include<stdlib .h>
#define MAXARRAY 10;
void mergesort(int...
No activity results to display
Show More
Leave a comment: