Disch:
So +1 Cubbi. If you are interested in learning C++, you should not be looking at anything from 1991 because any part of it could be wrong.
equals sign does not assign?
int x = 9; is wrong? |
No. And you are still completely missing the point and misinterpretting what Cubbi and I are saying.
We're not saying Turbo C++ got the assignment operator wrong. We're saying that Turbo C++ got a lot of things wrong (at least by today's standards) and therefore it can't be used as a language reference because it does not accurately represent the language.
If one part of it is wrong... then
any part of it
could be wrong. Therefore it is a bad point of reference and should not be used for anything.
It's like a magic 8-ball. Just because it's right sometimes does not mean you can rely on it.
In fact... the reason Cubbi pointed this out in the first place was because you posted
incorrect information about operator precedence. He then tried to explain to you that it was incorrect because you are using a bad point of reference (ie: Turbo C++) -- saying that it should never be used because it is so outdated.
....which you then countered by saying it was right about assignment... which makes absolutely no sense. Frankly I'm not sure whether or not you're trolling us.... but I'm not surprised Cubbi stopped responding.
EDIT:
In fact... after you posted the incorrect information about operator precedence, you said this:
you wrote: |
---|
operator precedence should be same today as was then |
Which
IS WRONG. It's not the same. You're wrong.
And it's because you're using a bad reference. You should not be using Turbo C++ as a reference. It does not reflect C++. It cannot be trusted.