52void printMatrix(
const spec_t spec,
const void *matrix,
const unsigned int nRows,
const unsigned int nColumns);
84void ptrBubbleSortArr(
void **arr,
unsigned int size,
int (*cmpFunc)(
const void *a,
const void *b));
116void ptrQuickSortArr(
void *arr,
int size,
int (*cmpFunc)(
const void *a,
const void *b));
151int ptrLinearSearchArr(
const void *arr,
int size,
void *key,
int (*cmpFunc)(
const void *a,
const void *b));
void floatQuickSortArr(float *arr, int size)
Quicksort for arrays of floats.
int floatLinearSearchArr(const char *arr, int size, float key)
Linear search for arrays of floats.
void intBubbleSortArr(int *arr, unsigned int size)
Bubblesort for arrays of ints.
void floatBubbleSortArr(float *arr, unsigned int size)
Bubblesort for arrays of floats.
void chooseBubbleSortArr(const spec_t spec, void *arr, unsigned int size,...)
Bubble sort for arrays.
void charQuickSortArr(char *arr, int size)
Quicksort for arrays of chars.
void intQuickSortArr(int *arr, int size)
Quicksort for arrays of ints.
int chooseLinearSearchArr(const spec_t spec, const void *arr, int size,...)
Linear search for arrays.
void ptrQuickSortArr(void *arr, int size, int(*cmpFunc)(const void *a, const void *b))
Quicksort for arrays of pointers.
void ptrBubbleSortArr(void **arr, unsigned int size, int(*cmpFunc)(const void *a, const void *b))
Bubblesort for arrays of pointers.
void doubleBubbleSortArr(double *arr, unsigned int size)
Bubblesort for arrays of doubles.
void printMatrix(const spec_t spec, const void *matrix, const unsigned int nRows, const unsigned int nColumns)
Print a matrix of specified size with specified formatting.
void doubleQuickSortArr(double *arr, int size)
Quicksort for arrays of doubles.
int ptrLinearSearchArr(const void *arr, int size, void *key, int(*cmpFunc)(const void *a, const void *b))
Linear search for arrays of pointers.
int charLinearSearchArr(const char *arr, int size, char key)
Linear search for arrays of chars.
void chooseQuickSortArr(const spec_t spec, void *arr, int size,...)
Quick sort for arrays.
int intLinearSearchArr(const char *arr, int size, int key)
Linear search for arrays of integers.
void charBubbleSortArr(char *arr, unsigned int size)
Bubblesort for arrays of chars.
int doubleLinearSearchArr(const char *arr, int size, double key)
Linear search for arrays of doubles.
Collection of useful types.
char * spec_t
Used to specify type of argument passed in functions that require a type specifier.
Definition: types.h:20