View Single Post
Old 12-05-2012, 11:13 AM   #4
ww_crimson
Member
 
Join Date: Sep 2011
Home MUD: Aarchon
Posts: 62
ww_crimson is on a distinguished road
Re: Really struggling with qsort (sorted areas list)

-WOW- . I can't believe how close my original code was to working. Just after making my post (a few mintues ago) I got to work and the code now works. Here is the full function (it's missing some formatting but the structure is there). For the time being I just used a simple number of MAX_AREAS 1000, even though it's incorrect. I need to research how to dynamically allocate that value based on the number of areas we have I suppose so that it's accurate.


Thanks a ton Camlorn. Any suggestions for further improvement?
ww_crimson is offline   Reply With Quote