By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,829 Members | 1,798 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,829 IT Pros & Developers. It's quick & easy.

sequence points

P: n/a
what are sequence points in c
any pointers to some resource which explains them in detail will be of
much help...
Thanks in advance
kind regards
Rahul

Oct 12 '06 #1
Share this Question
Share on Google+
18 Replies


P: n/a
ra*******************@gmail.com said:
what are sequence points in c
They are points within your program at which it is guaranteed that
everything that should have happened (and in particular all the side
effects) up till this point /has/ happened (or won't ever happen!). You get
them at the end of expression statements, and at various other places as
well.
any pointers to some resource which explains them in detail will be of
much help...
See "C: A Reference Manual", by Harbison & Steele. My 4th edition carries a
reasonable explanation on p83, and again on pages 228-229.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #2

P: n/a
ra*******************@gmail.com wrote:
what are sequence points in c
any pointers to some resource which explains them in detail will be of
much help...
Thanks in advance
kind regards
Rahul
http://en.wikipedia.org/wiki/Sequence_point

Google is your friend.

Tejas Kokje
Oct 12 '06 #3

P: n/a


On Oct 12, 2:13 pm, Richard Heathfield <inva...@invalid.invalid>
wrote:
any pointers to some resource which explains them in detail will be of
much help...See "C: A Reference Manual", by Harbison & Steele. My 4th edition carries a
reasonable explanation on p83, and again on pages 228-229.
Your book "C Unleashed"? I like it very much. Thanks! ;-)

Oct 12 '06 #4

P: n/a
Cong Wang said:
>

On Oct 12, 2:13 pm, Richard Heathfield <inva...@invalid.invalid>
wrote:
any pointers to some resource which explains them in detail will be of
much help...See "C: A Reference Manual", by Harbison & Steele. My 4th
edition carries a
reasonable explanation on p83, and again on pages 228-229.

Your book "C Unleashed"? I like it very much. Thanks! ;-)
You're welcome. I'm glad you're enjoying it.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #5

P: n/a
Richard Heathfield <in*****@invalid.invalidwrote:

("them" equals "sequence points")
any pointers to some resource which explains them in detail will be of
much help...
See "C: A Reference Manual", by Harbison & Steele. My 4th edition carries a
reasonable explanation on p83, and again on pages 228-229.
Or, alternatively, OP can get the "from the horse's mouth" explanation
from 5.1.2.3, subparagraph 2, in the draft n869 standard. (OP can,
presumably, use Google to locate this document.)

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Oct 12 '06 #6

P: n/a
Christopher Benson-Manica said:
Richard Heathfield <in*****@invalid.invalidwrote:
>See "C: A Reference Manual", by Harbison & Steele. My 4th edition carries
a reasonable explanation on p83, and again on pages 228-229.

Or, alternatively, OP can get the "from the horse's mouth" explanation
from 5.1.2.3, subparagraph 2, in the draft n869 standard. (OP can,
presumably, use Google to locate this document.)
Yes, but ISO Standards tend to make lousy tutorials. :-)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #7

P: n/a
In article <_o******************************@bt.com>,
Richard Heathfield <in*****@invalid.invalidwrote:
>Yes, but ISO Standards tend to make lousy tutorials. :-)
I've always found ISO 8859-1 quite understandable.

-- Richard
Oct 12 '06 #8

P: n/a
Christopher Benson-Manica wrote:
Richard Heathfield <in*****@invalid.invalidwrote:

("them" equals "sequence points")
>>any pointers to some resource which explains them in detail will be of
much help...
>See "C: A Reference Manual", by Harbison & Steele. My 4th edition carries a
reasonable explanation on p83, and again on pages 228-229.

Or, alternatively, OP can get the "from the horse's mouth" explanation
from 5.1.2.3, subparagraph 2, in the draft n869 standard. (OP can,
presumably, use Google to locate this document.)
There is now a link to a copy of it on the CLC wiki. I used the way back
machine to find Dan Pop's copy and uploaded it to my site. If Dan
objects (which I think is unlikely) I can remove it. Links to that and
other versions of the standard are here http://clc-wiki.net/wiki/c_standard

P.S. Anyone know how Dan is doing?
--
Flash Gordon
Hosting the CLC Wiki on an actively maintained server as a repayment for
all I've learnt here.
All contributions to the Wiki are welcome.
Oct 12 '06 #9

P: n/a
Richard Heathfield wrote:
Christopher Benson-Manica said:
>Richard Heathfield <in*****@invalid.invalidwrote:
>>See "C: A Reference Manual", by Harbison & Steele. My 4th edition
carries a reasonable explanation on p83, and again on pages 228-229.

Or, alternatively, OP can get the "from the horse's mouth" explanation
from 5.1.2.3, subparagraph 2, in the draft n869 standard. (OP can,
presumably, use Google to locate this document.)

Yes, but ISO Standards tend to make lousy tutorials. :-)
Where is Dan Pop when you need him? :-)

--
Some informative links:
<news:news.announce.newusers
<http://www.geocities.com/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>
<http://cfaj.freeshell.org/google/>
Oct 13 '06 #10

P: n/a
Flash Gordon wrote:
>
.... snip ...
>
P.S. Anyone know how Dan is doing?
I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.

--
Some informative links:
<news:news.announce.newusers
<http://www.geocities.com/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>
<http://cfaj.freeshell.org/google/>
Oct 13 '06 #11

P: n/a
CBFalconer wrote:
Richard Heathfield wrote:
>>Christopher Benson-Manica said:
>>>Richard Heathfield <in*****@invalid.invalidwrote:
See "C: A Reference Manual", by Harbison & Steele. My 4th edition
carries a reasonable explanation on p83, and again on pages 228-229.

Or, alternatively, OP can get the "from the horse's mouth" explanation
from 5.1.2.3, subparagraph 2, in the draft n869 standard. (OP can,
presumably, use Google to locate this document.)

Yes, but ISO Standards tend to make lousy tutorials. :-)


Where is Dan Pop when you need him? :-)
Writing a blistering critique of people who don't understand
Section 8.

--
Eric Sosman
es*****@acm-dot-org.invalid
Oct 13 '06 #12

P: n/a
CBFalconer said:
Flash Gordon wrote:
>>
... snip ...
>>
P.S. Anyone know how Dan is doing?

I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.
Nah.

Lawrence dropped out for a couple of years, then popped up out of nowhere
for a few months, and has since vanished again. (I hope he'll be back
soon.) I dropped out for well over a year, and then re-materialised. Chris
D disappeared for a while, but has returned. We hardly ever see Steve
nowadays, but just occasionally, he sticks his head round the door to see
what's going on.

It happens. I'm sure Dan is fine.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 13 '06 #13

P: n/a
CBFalconer wrote:
>
Flash Gordon wrote:
... snip ...

P.S. Anyone know how Dan is doing?

I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.
*** Error 341: "zip-a-dee-doo-dah" is not a valid C identifier. ;-)

--
+----------------------------------------------------------------+
| Charles and Francis Richmond richmond at plano dot net |
+----------------------------------------------------------------+
Oct 13 '06 #14

P: n/a
CBFalconer wrote:
>
Flash Gordon wrote:
... snip ...

P.S. Anyone know how Dan is doing?

I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.
I've been considering starting a rumor of his death.

--
pete
Oct 14 '06 #15

P: n/a
Charles Richmond <ri******@comcast.netwrites:
CBFalconer wrote:
>Flash Gordon wrote:
>
... snip ...
>
P.S. Anyone know how Dan is doing?

I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.
*** Error 341: "zip-a-dee-doo-dah" is not a valid C identifier. ;-)
But it's a valid C expression, assuming appropriate declarations for
zip, a, dee, doo, and dah.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Oct 14 '06 #16

P: n/a
pete <pf*****@mindspring.comwrites:
CBFalconer wrote:
>>
Flash Gordon wrote:
>
... snip ...
>
P.S. Anyone know how Dan is doing?

I've asked a few times and heard zip-a-dee-doo-dah. Seems ominous.

I've been considering starting a rumor of his death.
Long may it be greatly exaggerated.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Oct 14 '06 #17

P: n/a
On 12 Oct 2006 22:49:53 GMT, ri*****@cogsci.ed.ac.uk (Richard Tobin)
wrote:
In article <_o******************************@bt.com>,
Richard Heathfield <in*****@invalid.invalidwrote:
Yes, but ISO Standards tend to make lousy tutorials. :-)

I've always found ISO 8859-1 quite understandable.
And it might make good drama too; after all ...

..

..

..

..

..

..

it has a fine cast of characters.

Sorry, I couldn't resist.

- David.Thompson1 at worldnet.att.net
Oct 23 '06 #18

P: n/a
Dave Thompson <da*************@worldnet.att.netwrote:
[about the C Standard]
>
And it might make good drama too; after all ...
[...]
it has a fine cast of characters.
But not much plot -- I think that was left to a graphics standards
committee.

-Larry Jones

I think if Santa is going to judge my behavior over the last year,
I ought to be entitled to legal representation. -- Calvin
Oct 23 '06 #19

This discussion thread is closed

Replies have been disabled for this discussion.