🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #47264

Re: Exemplary ANSI C programming, an example

#47264
From: Emmanuel Delahaye
Date: Sat, 14 Dec 2002 12:14
28 lines
2192 bytes
In 'comp.lang.c', "Thomas J. Boschloo" <nospam@hccnet.nl.invalid> wrote:

> Since 99.8% of the world's professional programmers can't code, I
> thought I would show them. Check out this word frequency counting

Your modesty won't hurt you!

> utility at <http://home.hccnet.nl/t.j.boschloo/wordcnt> and flame me
> into the pits of hell.

by-defition, sizeof (char) == 1 
 
   unsigned long mincount;      /* the mimimum number of times a word must
                                   occure to be reported */
<...>
      printf ("Defaulting to a mimimum of %u occurances"
              " of each word\a\n", mincount);
you want

      printf ("Defaulting to a mimimum of %lu occurances"
              " of each word\a\n", mincount);

-- 
-ed- emdel at noos.fr ~]=[o
FAQ de f.c.l.c : http://www.isty-info.uvsq.fr/~rumeau/fclc/
C-library: http://www.dinkumware.com/manuals/reader.aspx
"Mal nommer les choses c'est ajouter du malheur au monde."
-- Albert Camus.
Technical Details
Message-ID: <Xns92E486AB6419Bhsnoservernet@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.fan.cult-dead-cow.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!e118.dhcp212-198-96.noos.FR!not-for-mail
References: <3DFB07E9.5D961C57@hccnet.nl.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92E486AB6419Bhsnoservernet@130.133.1.4>
Subject: Re: Exemplary ANSI C programming, an example
Date: Sat, 14 Dec 2002 12:14:18 +0000
From: Emmanuel Delahaye <emdelNOSPAM@noos.fr>
References: <3DFB07E9.5D961C57@hccnet.nl.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.fan.cult-dead-cow.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!e118.dhcp212-198-96.noos.FR!not-for-mail
Newsgroups: comp.lang.c,alt.fan.cult-dead-cow,alt.privacy.anon-server
Organization: World Company
Lines: 28
NNTP-Posting-Host: e118.dhcp212-198-96.noos.fr (212.198.96.118)
X-Trace: fu-berlin.de 1039868058 37380706 212.198.96.118 (16 [98276])
User-Agent: Xnews/5.04.25
X-face: &^QSr'ztO>vp64+s[Gbcxojr0l\;9Xx9**b0B^{6:(mEW?9fU}\rU]rdLYEKSD9a0ok=\,iXcNFm{qN_}nFV8#m+pQyV-g3kLi0+?]0RS@`jDAE[QlWO}I2|eq6#M~%iuJO2xz