home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!kirk!ptcburp!michi
- From: michi@ptcburp.ptcbu.oz.au (Michael Henning)
- Subject: Re: Hows this for odd
- Message-ID: <1992Nov9.231340.10201@ptcburp.ptcbu.oz.au>
- Organization: Pyramid Technology Corporation
- References: <1992Nov9.102217.23060@monu6.cc.monash.edu.au>
- Date: Mon, 9 Nov 1992 23:13:40 GMT
- Lines: 22
-
- bena@yoyo.cc.monash.edu.au (Ben Aveling) writes:
-
- >Just recently I saw the following fragment of code, and I thought I'd share
- >it with you all. (This is real code, part of a real program people will
- >pay money for.)
-
- > ... ,(i==0)?TRUE:FALSE,...
-
- From the source code for a popular UNIX debugger:
-
- if (strncmp(p, "", 1) != 0) {
- ...
- }
-
- There are lots of gems like that around :-(
-
- Michi.
- --
- -m------- Michael Henning +61 75 950255
- ---mmm----- Pyramid Technology +61 75 722475 FAX
- -----mmmmm--- Research Park, Bond University michi@ptcburp.ptcbu.oz.au
- -------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA uunet!munnari!ptcburp.oz!michi
-