Hogy-Bear

sort.h

Feb 9th, 2018
251
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #ifndef SORT_H
  2. #define SORT_H
  3.  
  4. #include "consts.h"
  5. #include <string.h>
  6.  
  7. void sortAlphabetically(artist artistArray[MAX_ARTISTS]);
  8.  
  9. void quickSort(char songs[MAX_SONGS][MAX_LENGTH], int left, int right);
  10.  
  11. int partition(char songs[MAX_SONGS][MAX_LENGTH], int left, int right, char pivot[MAX_LENGTH]);
  12.  
  13. #endif
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment