looking for good word count algorithm?

This is a discussion on looking for good word count algorithm? within the C Programming forums, part of the General Programming Boards category; hey does anyone know a good way to count the number of words in a file...i posted one earlier but ...

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    29

    Question looking for good word count algorithm?

    hey does anyone know a good way to count the number of words in a file...i posted one earlier but it doesnt work very well...

    thanks

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    So replies should go there then
    counting the number of words
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. word count help?
    By n3cr0_l0rd in forum C Programming
    Replies: 13
    Last Post: 02-07-2009, 07:29 AM
  2. Replies: 10
    Last Post: 11-18-2008, 10:52 PM
  3. word count troubles
    By Hoser83 in forum C Programming
    Replies: 13
    Last Post: 02-09-2006, 08:12 AM
  4. word count in C programming
    By warney_out in forum C Programming
    Replies: 4
    Last Post: 09-01-2004, 01:19 PM
  5. Word count in an EDIT box?
    By SyntaxBubble in forum Windows Programming
    Replies: 3
    Last Post: 11-03-2001, 11:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21