Quantcast
Channel: Redefining qsort()
Browsing all 6 articles
Browse latest View live

Redefining qsort()

Excellent. Thank you.Lamblion

View Article



Redefining qsort()

Map the string to a number, compare the numbers.Hans Passant.

View Article

Redefining qsort()

I guess I should be more explicit. I want to sort according to the canonical order of the books of the Bible. For example...GenExoLevNumDeu.... and so forthSo is qsort() the function for this, or do I...

View Article

Redefining qsort()

All I'm doing so far is passing a string array to the function and it returns the sorted string. I simply do this in the function...int iSortStrings(const void *a, const void *b){      return(strcmp( *...

View Article

Redefining qsort()

Isn't that what you do in the compare function?«_Superman_»

View Article


Redefining qsort()

I have used qsort() to sort various lists, but I have never altered the sorting scheme. IOW, qsort() just sorts according to the standard ASCII code.So my question is, can I alter the terms on how...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images