Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.lang.c Subject: Re: New 'n' Improved comp.lang.c FAQ List Message-ID: <11742@dog.ee.lbl.gov> Date: 3 Apr 91 22:49:32 GMT References: <910401.0xf001@etiquette.uu.net> <1991Apr1.203024.19679@unlv.edu> <31946@shamash.cdc.com> <1780@mti.mti.com> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 24 X-Local-Date: Wed, 3 Apr 91 14:49:32 PST In article <1780@mti.mti.com> adrian@mti.UUCP (Adrian McCarthy) writes: >I'm not sure if people are really trying to clear this up, or if they're >just trying to propagate the joke. At the risk of being a fool... (I think people are getting it wrong, rather than perpetuating the Emily Postnews bit. Anyway, this sort of joke works the way Manny described to Mike: `Use it once, you're a wit. Use it twice, you're a half-wit.' `Geometric progression?' `Or worse.') > #include > #define QUOTE(a) #a > static char retbuf[sizeof(QUOTE(INT_MIN))]; This almost works: it expands to static char retbuf[sizeof("INT_MIN")]; You must use two levels of macro evaluation: #define XQUOTE(a) QUOTE(a) /* expanded quote */ static char retbuf[sizeof(XQUOTE(INT_MIN))]; -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov