Need a C++ Programmer -- 2
Budget: $10 – $30 USD
Matrix Sorting Program
Need help with a matrix sorting program. The sorting needs to use three functions for comparison (greater than, equal to or lesser than) then increment a counter for the number of comparisons (Global counter). Comparisons can ONLY be made inside of these functions. There needs to be one assignment function, for assigning a variable then incrementing an assignment counter (also a global counter). Assignments can ONLY be made within this function. After you need to use a quicksort algorithm to sort the matrix, any swaps need to be done by calling the "assignment function" three times. There are two different ways of sorting the same matrix, using these functions and quicksort algorithm that are required. I have all of the info, if anyone is interested.
Need help with a matrix sorting program. The sorting needs to use three functions for comparison (greater than, equal to or lesser than) then increment a counter for the number of comparisons (Global counter). Comparisons can ONLY be made inside of these functions. There needs to be one assignment function, for assigning a variable then incrementing an assignment counter (also a global counter). Assignments can ONLY be made within this function. After you need to use a quicksort algorithm to sort the matrix, any swaps need to be done by calling the "assignment function" three times. There are two different ways of sorting the same matrix, using these functions and quicksort algorithm that are required. I have all of the info, if anyone is interested.