Article View: comp.std.c
Article #5116Re: The \c escape
From: Peter da Silva
Date: Tue, 21 Jun 1988 16:24
Date: Tue, 21 Jun 1988 16:24
16 lines
1226 bytes
1226 bytes
In article <8127@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes:
> In article ... karl@haddock.ima.isc.com (Karl Heuer) writes:
> >the nonexistence of a spelling for the character constant '\x234\c5'...
> Probably not. Multiple-character character constants are unportable and
> considered bad style. They're only permitted because they were in previous
> practice. Many of us don't think you should ever try to make use of them.
(1) OK, how do you spell "\x234\c5"? "\x234""5"? Bleagh.
(2) What's wrong with a readable and maintainable way of initialising a
32-bit unsigned integer to 0x464F524DL? You prefer that (or ('F'<<24)|
('O'<<16)|('R'<<8)|('M')) to 'FORM'?
--
-- Peter da Silva, Ferranti International Controls Corporation.
-- Phone: 713-274-5180. Remote UUCP: hoptoad!academ!uhnix1!sugar!peter.
Technical Details
Message-ID:
<963@ficc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!tness7!tness1!sugar!ficc!peterReferences:
<4604@haddock.ISC.COM> <5907@umn-cs.cs.umn.edu> <8125@brl-smoke.ARPA> <8127@brl-smoke.ARPA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!tness7!tness1!sugar!ficc!peter From: peter@ficc.UUCP (Peter da Silva) Newsgroups: comp.std.c Subject: Re: The \c escape Message-ID: <963@ficc.UUCP> Date: 21 Jun 88 16:24:19 GMT References: <4604@haddock.ISC.COM> <5907@umn-cs.cs.umn.edu> <8125@brl-smoke.ARPA> <8127@brl-smoke.ARPA> Organization: SCADA Lines: 16