home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky talk.bizarre:38002 rec.pets.birds:2750
- Newsgroups: talk.bizarre,rec.pets.birds
- Path: sparky!uunet!caen!batcomputer!theory.TC.Cornell.EDU!mdw
- From: mdw@theory.TC.Cornell.EDU (Matt Welsh)
- Subject: Re: How to kill chickens with your computer...
- Message-ID: <1992Nov13.222355.28335@tc.cornell.edu>
- Sender: news@tc.cornell.edu
- Nntp-Posting-Host: theory.tc.cornell.edu
- Organization: Cornell Theory Center
- References: <1992Nov13.134921.1730@guvax.acc.georgetown.edu>
- Date: Fri, 13 Nov 1992 22:23:55 GMT
- Lines: 37
-
- In article <1992Nov13.134921.1730@guvax.acc.georgetown.edu> troberts@guvax.acc.georgetown.edu writes:
- >From the help menu of Borland's Turbo C/C++ for DOS.
- >
- > See Also:
- > delay sound
- >
- > Example:
- > /* Emits a 7-Hz tone for 10 seconds.
- >
- > True story: 7 Hz is the resonant
- > frequency of a chicken's skull cavity.
- > This was determined empirically in
- > Australia, where a new factory
- > generating 7-Hz tones was located too
- > close to a chicken ranch: When the
- > factory started up, all the chickens
- > died.
- >
- > Your PC may not be able to emit a 7-Hz tone. */
-
- /* If not, just use an axe. */
- >
- > int main(void)
- > {
- > sound(7);
- > delay(10000);
-
- /* 10 seconds should be long enough to waste 'em! */
-
- > nosound();
- > }
-
- Obviously, Borland is condoning the sonic slaughtering of chickens by
- releasing this program as an example in it help files.
-
- mdw
-
-