[LC++]static const char*
Roberto Diaz
roberto at vivaldi.dhis.org
Fri Dec 14 05:35:05 UTC 2001
> class foo
> {
> static const char *const a = "this";
> // more things
> };
>
> This makes the pointer const, as your first example made
> only the string const.
Thank you!! :) I forgot the pointer was not const!!!
I am still re-landing in the C++ world!!
--
Saludos
Roberto Díaz <roberto at vivaldi.dhis.org>
PLEASE HELP SAVE faqs.org!
http://www.faqs.org/save_faqs-org.html
More information about the tuxCPProgramming
mailing list