473,408 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

The Wikipedia article on C and C++ operators

This concerns the Wikipedia article on C and C++ operators:
http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B

Until very recently the first table in the page was a very
useful one on the precedence of C operators. This has
recently been replaced by one on C++ operators. I'm
not at all happy with that but I guess I can always link
to the history page. But I was wondering if anyone could
have a look and verify that the C part is correct. I'm pretty
sure that in C postfix/prefix increment/decrement have
the same priority. Is it different in C++ ?

By the way here's the page I have been using:
http://en.wikipedia.org/w/index.php?...oldid=59984787

Cheers
Spiros Bousbouras

Jul 28 '06
52 5044
"kwikius" <an**@servocomm.freeserve.co.ukwrote:
sp****@gmail.com wrote:
This concerns the Wikipedia article on C and C++ operators:
http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B

Until very recently the first table in the page was a very
useful one on the precedence of C operators. This has
recently been replaced by one on C++ operators. I'm
not at all happy with that but I guess I can always link
to the history page. But I was wondering if anyone could
have a look and verify that the C part is correct. I'm pretty
sure that in C postfix/prefix increment/decrement have
the same priority. Is it different in C++ ?

Hang on. Are you saying that the table of precedence for C++ operators,
now has precedence over the table of precedence for the table of C
operators, whereas previously the table now preceeding was in fact
previously not preceeding the table which previously preceeded it? If
so the correct procedure is to proceed to replace if possible these
tables of precedence in their previous precedence. Simple really ...
A prescient reply, but doing so might set a precedent.

Richard
Jul 31 '06 #51
Victor Bazarov wrote:
sp****@gmail.com wrote:
And in case people haven't noticed, I'm still looking for
a reliable table of C operators precedence on the net. Surely
a lot of people would have a use for such a thing.

So why did you mix C++ into it?
1) I wanted to find out if operator precedence
is different in C++. Partly due to curiosity and
partly because I wanted to know if it is reliable to
consult tables on C++ operator precedence when
I'm interested in C.

2) To alert the people on comp.lang.c++ that a change
has been made to a Wikipedia article on C++ in case
they wanted to check its accuracy. Assuming they're
not as cynical about Wikipedia as Richard Heathfield
is.

Spiros Bousbouras

Aug 2 '06 #52

Richard Bos wrote:
A prescient reply, but doing so might set a precedent.
No problem . I'm presently president of the society for the
preservation of precedence in Wiki operator precedence tables.
Unfortunately the previous president, Pete, was found to be unfairly
manipulating the the operators and the tables themselves by putting
brackets around everything. Preposterous!. It is the societies aim to
have brackets banned because they play havoc with operator precedence
and make our society look completely ridiculous. We won't stand for
this type of behaviour and request that any sightings of such use of
brackets be reported to us forthwith.

regards
Andy Little

Aug 3 '06 #53

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Luis M. González | last post by:
For those interested in the simplest, easiest and most pythonic web framework out there, there's a new page in Wikipedia: http://en.wikipedia.org/wiki/Karrigell
48
by: spibou | last post by:
This concerns the Wikipedia article on C and C++ operators: http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B Until very recently the first table in the page was a very useful one on the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.