Article View: comp.std.c
Article #3091Re: How to write Trigraph like character sequences in a string (was:Re: to "OR" or not to "OR")
From: Doug Gwyn
Date: Fri, 31 May 1991 18:43
Date: Fri, 31 May 1991 18:43
14 lines
1291 bytes
1291 bytes
In article <m0jizgb-0001OzC@dharma.reed.edu> minar@reed.edu writes: >>>> 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. Excuse me -- if a compiler variant does not support trigraphs then it should not be called "ANSI" (as in "conforming to the ANSI C standard"). Standard conformance is a well-defined and useful property; let's not introduce confusion about what the phrase "ANSI C" means by applying it to deviant implementations. That being said, I also have to take issue with the idea of relying on a compiler "switch" for correct program semantics. There are standard ways to meet the requirement; no need to resort to such kludgery.
Technical Details
Message-ID:
<16313@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!zaphod.mps.ohio-state.edu!wuarchive!ukma!hsdndev!cmcl2!adm!smoke!gwynReferences:
<RICHARD.91May29092137 <1157@mwtech.UUCP> <m0jizgb-0001OzC@dharma.reed.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!zaphod.mps.ohio-state.edu!wuarchive!ukma!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) 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: <16313@smoke.brl.mil> Date: 31 May 91 18:43:03 GMT References: <RICHARD.91May29092137 <1157@mwtech.UUCP> <m0jizgb-0001OzC@dharma.reed.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 14