J
Joe Snodgrass
I've almost finished teaching myself C++, but there's one last step I
have to take. I need to teach myself all the situations that require
one to use a strange looking combination of operators.
One example of a strange looking combination of operators that I
managed to work through is
tmp=(Node<int>*)ptr,
You can see that the >* is nothing like anything that would have been
seen in any previous (or structured) language.
I seem to recall seeing this sort of awkward syntax in several
different situations, when I read 2nd edition of Stroustrup, not just
this situation.
Does anybody know if someone has assembled a cheat sheet to pull them
all together in one place? TIA.
have to take. I need to teach myself all the situations that require
one to use a strange looking combination of operators.
One example of a strange looking combination of operators that I
managed to work through is
tmp=(Node<int>*)ptr,
You can see that the >* is nothing like anything that would have been
seen in any previous (or structured) language.
I seem to recall seeing this sort of awkward syntax in several
different situations, when I read 2nd edition of Stroustrup, not just
this situation.
Does anybody know if someone has assembled a cheat sheet to pull them
all together in one place? TIA.