Skip to content
Snippets Groups Projects
Commit a0721fed authored by Miguel Espino's avatar Miguel Espino
Browse files

made the header file for the makefile

parent aeda2b50
No related branches found
No related tags found
No related merge requests found
qsort.h 0 → 100644
/*------------------------------------
* Miguel Espino
* ll352639
* lfc083
* ------------------------------------*/
#ifndef QSORT_H
#define QSORT_H
typedef int (*Comparator)(void *,void *);
int compareComplex(void *first, void *second);
int compareDouble(void *first, void *second);
int compareInt(void *first, void *second);
void swap(void *v[], int i, int j);
void myQsort(void *v[], int left, int right, Comparator comp);
int myGetline(char s[], int lim);
int *readlines(char *lineptr[], int maxLines);
void writelines(char *lineptr, int nlines);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment