Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!columbia!garfield!eppstein From: eppstein@garfield.columbia.edu (David Eppstein) Newsgroups: net.lang.c Subject: #define kinda stuff Message-ID: <1441@garfield.columbia.edu> Date: Fri, 11-Apr-86 16:12:26 EST Article-I.D.: garfield.1441 Posted: Fri Apr 11 16:12:26 1986 Date-Received: Sun, 13-Apr-86 08:39:05 EST References: <1458@cwruecmp.UUCP> Distribution: net Organization: Columbia University CS Department Lines: 17 In article <1458@cwruecmp.UUCP> ryan@cwruecmp.UUCP (Ryan McGuire) writes: > #define (-: /* > #define :-) */ Obviously the right way to do this is the following: #define cat(a,b) a/**/b #define (-: cat(/,*) #define :-) cat(*,/) Of course you might have to do it differently in ANSI C... There are already enough pictographs here that I shouldn't need to add another for the terminally humorless... -- David Eppstein, eppstein@cs.columbia.edu, seismo!columbia!cs!eppstein (note that the garfield in my headers is *not* the one in the UUCP map)