A
Alf P. Steinbach
* Alf P. Steinbach:
I've now replaced the original with a an updated version that includes a
table of assignment operators, as suggested by Thomas Hansen.
Also, I changed the wording in the advice "Do not use the the ++ and
-- operators in expressions, except idiomatic usage" to "Do not use the
result values of the ++ and -- operators, except idiomatic usage",
because although understandable it was technically meaningless.
The section about unspecified versus undefined value is unchanged
although contested; I've posted a question about it to clc++m and await
some clarification (if possible), but basically I think it's correct as
it stands since it's simply the Holy Standard's example in disguise.
A few days ago I posted an "Hello, world!" tutorial, discussed in <url:
http://groups.google.no/[email protected]>.
As I wrote then:
<quote>
because there seems to be a lack of post-standard _correct_
tutorials: <url: http://home.no.net/dubjai/win32cpptut/>.
</quote>
This is the follow up, part 02, discussing variables (the directory
referred above contains two documents, part 01 and part 02).
I aim at the complete newbie, but as the earlier debate showed, even for
these fundamental topics there were things to be learned also for far
more experienced C++ folks.
I hope I haven't committed too many errors of my own ( ;-) ), and look
forward to corrections -- just not "it's too long", every word counts.
I've now replaced the original with a an updated version that includes a
table of assignment operators, as suggested by Thomas Hansen.
Also, I changed the wording in the advice "Do not use the the ++ and
-- operators in expressions, except idiomatic usage" to "Do not use the
result values of the ++ and -- operators, except idiomatic usage",
because although understandable it was technically meaningless.
The section about unspecified versus undefined value is unchanged
although contested; I've posted a question about it to clc++m and await
some clarification (if possible), but basically I think it's correct as
it stands since it's simply the Holy Standard's example in disguise.