Though the book never refers to Bubble Sort (for which we are proud), we had to just include the code for that ill-fated algorithm to show just how bad some sorting algorithms can be. More...
#include "report.h"
Functions | |
void | sortPointers (char **vals, int total_elems, int(*cmp)(const void *, const void *)) |
Sort by using Bubble Sort. |
Though the book never refers to Bubble Sort (for which we are proud), we had to just include the code for that ill-fated algorithm to show just how bad some sorting algorithms can be.
void sortPointers | ( | char ** | vals, | |
int | total_elems, | |||
int(*)(const void *, const void *) | cmp | |||
) |
Sort by using Bubble Sort.
Only included to show just how bad some sorting algorithms can be.
Algorithm Development Kit 1.0