I was wondering if anyone had a sample program that merged two arrays and sorted them into one array.
Printable View
I was wondering if anyone had a sample program that merged two arrays and sorted them into one array.
>I was wondering if anyone had a sample program that merged
>two arrays and sorted them into one array.
Yep, I do.
> Yep, I do.
Me too - it's in Java, but it is a sample program....
Look in a C data structures book.
or
Get the java code and translate it to C.
Mr. c.
how do you translate java to c?
Very carefully... Just look at the algorithm and write the C code....
>I was wondering if anyone had a sample program
>that merged two arrays and sorted them into one array.
Yes
>how do you translate java to c?
http://www.dinkumware.com/jproject.html
-Prelude