🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3084

Re: How to write Trigraph like character sequences in a string (was:Re: to "OR" or not to "OR")

#3084
From: minar
Date: Fri, 31 May 1991 02:58
12 lines
1330 bytes
>>> 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..
Technical Details
Message-ID: <m0jizgb-0001OzC@dharma.reed.edu>
Path: arc1-ca.pugleaf.net!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
References: <1991May28.231253.5226@csrd.uiuc.edu> <RICHARD.91May29092137 <1157@mwtech.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <m0jizgb-0001OzC@dharma.reed.edu>
Date: 31 May 91 02:58:02 GMT
References: <1991May28.231253.5226@csrd.uiuc.edu> <RICHARD.91May29092137 <1157@mwtech.UUCP>
Sender: nobody@reed.UUCP
Organization: Reed College, Portland, OR
Lines: 12