🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3352

Re: Numeric literal formats

#3352
From: James Kanze US/ESC 60/3/141 #407...
Date: Tue, 20 Feb 1996 05:50
31 lines
2139 bytes
In article <r4g2c8lcrp.fsf@erawan.cognex.com> Michael Cook
<mcook@cognex.com> writes:

|> >>>>> "P" == "Paul D DeRocco" <pderocco@ix.netcom.com> writes:

|>  P> Oh heck, I might as well throw this in. Why isn't there an escape for 
|>  P> escape? That is, why can't \e be defined as \x1B, since it's such a 
|>  P> common control character?

|> What would \e mean if the character set were not ASCII?

I was about to post the same thing, then it occured to me that this
argument is equally valid concerning \a or \v (or for that matter,
probably everything but \n).

The other control characters are defined in terms of their semantics,
and not the code.  I'm not sure how the standard could define the
semantics of escape; this may be the reason why it isn't there.

--
James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils, itudes et rialisations en logiciel orienti objet --
                -- A la recherche d'une activiti dans une region francophone
---
[ To submit articles: try just posting with your news-reader.
                      If that fails, use mailto:std-c++@ncar.ucar.edu
  FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu.
]
Technical Details
Message-ID: <9602191618.AA13420@lts.sel.alcatel.de>
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
References: <3125C1DC.35AE@ix.netcom.com> <r4g2c8lcrp.fsf@erawan.cognex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
From: James Kanze US/ESC 60/3/141 #40763 <kanze@lts.sel.alcatel.de>
Newsgroups: comp.std.c++
Subject: Re: Numeric literal formats
Date: 20 Feb 96 05:50:07 GMT
Organization: -
Approved: fjh@cs.mu.oz.au
Message-ID: <9602191618.AA13420@lts.sel.alcatel.de>
References: <3125C1DC.35AE@ix.netcom.com> <r4g2c8lcrp.fsf@erawan.cognex.com>
NNTP-Posting-Host: munta.cs.mu.oz.au
X-Original-Date: Mon, 19 Feb 96 17:18:57 +0100
In-Reply-To: Michael Cook's message of 19 Feb 96 02:30:07 GMT
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMSlhHOEDnX0m9pzZAQH3QQF9ES/UpXaLdG0pVLramO94AKqj5KVH7XQX
 /h2rjBJaqbDV74Eht5Dkfalqd+aT29l6
 =KUFC
Originator: fjh@munta.cs.mu.OZ.AU