Re: Suffix allowed on expressions?
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Fri, 04 Jan 2008 03:05:55 -0500
Keith Thompson wrote:
CBFalconer <cbfalconer@xxxxxxxxx> writes:
dspfun wrote:
... snip ...
Could you give a pointer to where in the standard it says that an
integer (constant) can be typecasted to a pointer and the result
is implementation dependent?
You can answer this sort of question more easily yourself, with a
text version of the C standard and grep. grep is available
everywhere. For the text version I suggest N869_txt.bz2, which is
a bzip2 compressed version of N869, and is available at:
<http://cbfalconer.home.att.net/download/>
n1256.pdf, available at
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf>,
is more current. It's PDF rather than plain text, which may or may
not be a problem.
I'm not convinced that a simple grep would be useful in this case.
For example, the word "typecast" appears nowhere in the standard.
What would you grep for?
For example, I just entered:
grep -n cast \stds\n869.txt | less
and got a set of roughly 60 lines. This took all of 2 seconds. It
shouldn't take much to hide that output and just save the line
numbers, which can then be used to illuminate all the areas of
interest.
--
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>
Try the download section.
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Suffix allowed on expressions?
- From: Mark McIntyre
- Re: Suffix allowed on expressions?
- References:
- Suffix allowed on expressions?
- From: dspfun
- Re: Suffix allowed on expressions?
- From: jameskuyper
- Re: Suffix allowed on expressions?
- From: dspfun
- Re: Suffix allowed on expressions?
- From: dspfun
- Re: Suffix allowed on expressions?
- From: Walter Roberson
- Re: Suffix allowed on expressions?
- From: dspfun
- Re: Suffix allowed on expressions?
- From: CBFalconer
- Re: Suffix allowed on expressions?
- From: Keith Thompson
- Suffix allowed on expressions?
- Prev by Date: Re: Reg:Structures
- Next by Date: Re: Question about CLC
- Previous by thread: Re: Suffix allowed on expressions?
- Next by thread: Re: Suffix allowed on expressions?
- Index(es):
Relevant Pages
|