Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int cmp_pnt_i(const void *a, const void *b)
- {
- return (((struct point*)a)->x-((struct point*)b)->x);
- }
- int cmp_pnt_c(const void *a, const void *b)
- {
- return strcmp(((struct point*)a)->label,((struct point*)b)->label);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement