Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!mips!atha!aunro!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!reed!minar From: minar@reed.edu Newsgroups: comp.std.c Subject: Re: How to write Trigraph like character sequences in a string (was:Re: to "OR" or not to "OR") Message-ID: Date: 31 May 91 02:58:02 GMT References: <1991May28.231253.5226@csrd.uiuc.edu> Sender: nobody@reed.UUCP Organization: Reed College, Portland, OR Lines: 12 >>> What if I want to use the sequence "??!" within a string? easy. Use a compiler that is fully ANSI, but lets you turn off trigraphs. At least for compilers in America, that's more or less the norm.. the Gnu compiler specifically requires you to turn trigraphs ON (I think - that might have changed) and Borland doesn't even have trigraphs in its compiler anymore, there's a program called trigraph.com that does the translation for you, so just don't execute it! Oh, I guess its not conforming code, but does anyone really use trigraphs? Really, anyone? If I had a keyboard that wasn't fully C capable, I'd certainly use something, but it wouldn't be trigraphs, unless I had to ship the code elsewhere..