Advertisement
Patresss

Untitled

Jun 24th, 2014
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. int cmp_pnt_i(const void *a, const void *b){
  2. return(((struct point*)a)->x - ((struct point *)b)->x);
  3. }
  4. int cmp_pnt_c(const void *a, const void *b){
  5. return strcmp (((struct point*)a)->label,((struct point *)b)->label);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement