S. Fisher wrote:
--- On Wed, 3/20/13, S. Fisher <expandaf...@yahoo.com> wrote:

The program reads a text file and counts the number of
unique words,
and also displays the number of times the most common word
was found.


For comparison, here's a C++ program.  Unlike the Pascal version,
it shows the 20 most common words.  Also, it doesn't use a
regular expression engine, since I didn't have one.

If it's C++ and doesn't use regular expressions, is it really relevant here?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to