C Programming FAQs: Frequently Asked Questions 笔记
//使用qsort和strcmpintpstrcmp(constvoid*p1,constvoid*p2){returnstrcmp(*(char*const*)p1,*(char*const*)p2);}intmain(intargc,char**argv){char*strings[NSTRING];intnstrings;qsort(strings,nstrings,sizeof(char*