[misc.misc] Re^2: The "evil" Geoff

maart@cs.vu.nl (Maarten Litmaath) (05/11/89)

geoff@cs.warwick.ac.uk (Geoff Rimmer) writes:
\...
\(c) it is correct C code

Hahahahahaaaaaaaaaaa!

\...	char str[4];
\...   	*str!="m" && *str!="f"
\...

You might as well use:

	main()
	{
		char	*buf;

		gets(buf);	/* Who's afraid of Virginia Coredump? */

		switch (*buf) {
		case 'm':
		case 'f':
		case 'h':	/* hermaphrodite */
		case 'n':	/* neutral */
			exit(puts(buf));
		}

		abort();	/* You asked for it, clown! */
	}
-- 
 "`Goto considered harmful' considered |Maarten Litmaath @ VU Amsterdam:
      harmful" considered harmful!     |maart@cs.vu.nl, mcvax!botter!maart