home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / talk / bizarre / 38002 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.7 KB

  1. Xref: sparky talk.bizarre:38002 rec.pets.birds:2750
  2. Newsgroups: talk.bizarre,rec.pets.birds
  3. Path: sparky!uunet!caen!batcomputer!theory.TC.Cornell.EDU!mdw
  4. From: mdw@theory.TC.Cornell.EDU (Matt Welsh)
  5. Subject: Re: How to kill chickens with your computer...
  6. Message-ID: <1992Nov13.222355.28335@tc.cornell.edu>
  7. Sender: news@tc.cornell.edu
  8. Nntp-Posting-Host: theory.tc.cornell.edu
  9. Organization: Cornell Theory Center
  10. References: <1992Nov13.134921.1730@guvax.acc.georgetown.edu>
  11. Date: Fri, 13 Nov 1992 22:23:55 GMT
  12. Lines: 37
  13.  
  14. In article <1992Nov13.134921.1730@guvax.acc.georgetown.edu> troberts@guvax.acc.georgetown.edu writes:
  15. >From the help menu of Borland's Turbo C/C++ for DOS.
  16. >
  17. >        See Also:
  18. >         delay    sound
  19. >                
  20. >        Example:
  21. >        /* Emits a 7-Hz tone for 10 seconds.
  22. >                                           
  23. >         True story: 7 Hz is the resonant 
  24. >         frequency of a chicken's skull cavity.
  25. >         This was determined empirically in
  26. >         Australia, where a new factory
  27. >         generating 7-Hz tones was located too
  28. >         close to a chicken ranch: When the 
  29. >         factory started up, all the chickens
  30. >         died. 
  31. >
  32. >         Your PC may not be able to emit a 7-Hz tone. */  
  33.  
  34.          /* If not, just use an axe. */
  35. >                                    
  36. >        int main(void)             
  37. >        {                 
  38. >           sound(7);     
  39. >           delay(10000);
  40.  
  41.          /* 10 seconds should be long enough to waste 'em! */
  42.  
  43. >           nosound();   
  44. >        }              
  45.  
  46. Obviously, Borland is condoning the sonic slaughtering of chickens by
  47. releasing this program as an example in it help files.
  48.  
  49. mdw
  50.  
  51.