Re: A89: Re: Re: Folder List
[Prev][Next][Index][Thread]
Re: A89: Re: Re: Folder List
| I was not familiar with qsort from stdlib.h, but yes, I guess it could be
good
| if you dont want to write your own, and doesn't have any concern about
space.
| Speed I do not know anything about. What algoritm do qsort use? It didn't
say in
| my man-pages.
| But my statement still stands. with small amounts of data, there is no
need for
| advanced routines, and it is most probably even plain bad and stupid to
use.
I wasn't familiar with it either, because I'm not familiar with C, but it
says exactly how to use it with strings. And I guess it uses QuickSort, as
the name suggests. So, thanks to Zeljko's work, all you have to do is
create and fill the array. I'll provide some code for that later.
References: