The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
Subject: Re: To C or not to C
Date: Mon, 06 Jan 2003 22:59:09 +0000
References: <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
"Kevin Aylward" wrote:
>The shortest way would
>> be: while(*po++=*pi++); but always nice to check what it turns into.
>Having not actually looked at a compiler output for maybe 7 years, I'm
>not sure whether or not statements on one line like this always expand
>to better code then simply making separate ones. However, I don't like
>the po++ on the left hand side, I don't think that's it guaranteed to
>expand in the correct order.
>In my own code, I usually use the longer text versions as it is clearer.
Given as example code in K&R 25 years ago it is guaranteed to work as
expected and should be crystal clear to anyone who claims to know the
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup