"Last Timer" <da********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Thanks for your kind replies. Do you read it Left to Right or vice
versa to determine "first" and "second"?
The C++ for Dummies saz on pg 63
const char * pcc="This is a constant string";
char * const cpc="tjhis is also a string";
*pcc='a'; //illegal
*cpc ='b';//legal
pcc="another string" ; //legal
cpc="another string"; illegal
I'm trying to develop a mnemonic to remember these. Instead of rote
learning may be someone can help me figure this out logically.
http://www.ericgiguere.com/articles/...larations.html
Yes, it's about C, but applies to C++ as well. (But of course it
won't cover the 'C++-only' stuff such as class members, etc.
I don't know of a web link for that, but this one should give you
a good start.)
Also, google for a utility called 'cdecl', which can take
a C declaration and translate it to English. It's available
for most platforms, and is supplied with some.
-Mike