Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Re: Program tha...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 16 Topic 26192 of 26972
Post > Topic >>

Re: Program that makes a list of words.

by viza <tom.viza@[EMAIL PROTECTED] > May 13, 2008 at 04:48 AM

Hi

On May 13, 9:52 am, Richard Heathfield <r...@[EMAIL PROTECTED]
> wrote:
> lundslakt...@[EMAIL PROTECTED]
 said:

> > I asked my Father, and he suggested that I should use microsoft-word
> > to make the whole text one column,
> > and then insert that column in excel and use the sorting
> > function.
>
> Blech!  :-)
>
> > But that wont work for long text(more than 65536 words).
>
> And it's so inelegant, too.
>
[snip]
>
>     qsort(WordArray, Treecount, sizeof *WordArray, CompareWords);

pot? kettle? :-)

Even the most rushed semi-efficient implementation would use an insert
sort on a linked list.  I bet even excel doesn't use qsort.  Perhaps a
good one would use a tree?
 




 16 Posts in Topic:
Program that makes a list of words.
lundslaktare@[EMAIL PROTE  2008-05-12 23:32:01 
Re: Program that makes a list of words.
Chris McDonald <chris@  2008-05-13 06:43:04 
Re: Program that makes a list of words.
lundslaktare@[EMAIL PROTE  2008-05-13 00:12:08 
Re: Program that makes a list of words.
Chris McDonald <chris@  2008-05-13 07:24:44 
Re: Program that makes a list of words.
Richard Heathfield <rj  2008-05-13 07:38:04 
Re: Program that makes a list of words.
lundslaktare@[EMAIL PROTE  2008-05-13 01:22:26 
Re: Program that makes a list of words.
Richard Heathfield <rj  2008-05-13 08:52:13 
Re: Program that makes a list of words.
viza <tom.viza@[EMAIL   2008-05-13 04:48:53 
Re: Program that makes a list of words.
"Joachim Schmitz&quo  2008-05-13 13:55:22 
Re: Program that makes a list of words.
pete <pfiland@[EMAIL P  2008-05-13 07:59:33 
Re: Program that makes a list of words.
Richard Heathfield <rj  2008-05-13 12:22:16 
Re: Program that makes a list of words.
Keith Thompson <kst-u@  2008-05-13 11:14:39 
Re: Program that makes a list of words.
CBFalconer <cbfalconer  2008-05-13 10:21:13 
Re: Program that makes a list of words.
viza <tom.viza@[EMAIL   2008-05-13 11:30:02 
Re: Program that makes a list of words.
viza <tom.viza@[EMAIL   2008-05-13 11:37:06 
Re: Program that makes a list of words.
CBFalconer <cbfalconer  2008-05-13 16:28:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 21:38:13 CDT 2008.