Re: *p++ = *q++ undefined? why?
- From: pete <pfiland@xxxxxxxxxxxxxx>
- Date: Sun, 02 Apr 2006 21:39:12 GMT
CBFalconer wrote:
Eric Sosman wrote:
CBFalconer wrote:
pete wrote:
... snip ...
As long as (*p) is defined and (*q) is defined,
there is nothing wrong with (*p++ = *q++).
Assuming p != q.
Even if p == q. (Confession: I very nearly made
the same mistake.)
Alright, modify the assumption to:
&p !- &q
&p != &q
OK
--
pete
.
- References:
- Re: *p++ = *q++ undefined? why?
- From: Vladimir S. Oka
- Re: *p++ = *q++ undefined? why?
- From: Michael Mair
- Re: *p++ = *q++ undefined? why?
- From: pete
- Re: *p++ = *q++ undefined? why?
- From: CBFalconer
- Re: *p++ = *q++ undefined? why?
- From: Eric Sosman
- Re: *p++ = *q++ undefined? why?
- From: CBFalconer
- Re: *p++ = *q++ undefined? why?
- Prev by Date: Re: using native C code in a C# application
- Next by Date: Re: using native C code in a C# application
- Previous by thread: Re: *p++ = *q++ undefined? why?
- Next by thread: Re: *p++ = *q++ undefined? why?
- Index(es):
Relevant Pages
|
|