慕妹3242003
随手写了一个typedefint(*__CMP__)(constvoid*c1,constvoid*c2);/*voidqsort(void*base,size_tnum,size_tsize,int(*comparator)(constvoid*,constvoid*));dlen=DataLength*/void*combineArray(void*a1,size_ta1Len,void*a2,size_ta2Len,size_tdlen,__CMP__cmpFunc){if(a1==(void*)NULL||a2==(void*)NULL||a1Len&a2Len==0){return(void*)NULL;}unsignedchar*retArray=(unsignedchar*)malloc(a1Len+a2Len);unsignedchar*p1=(unsignedchar*)a1;unsignedchar*p2=(unsignedchar*)a2;for(inti=0;i