F
Frédéric Kpama
Hi,
I have to admit I don't fully understand all the implications of the
const qualifier. For example, I don't understand why a pointer to a
const stuff can not be compiled.
const char[] foo = "a string";
char * bar;
why can't I code bar = foo ? (If I remember, the gcc message was
pointing out some "dereference" restrictions, but I'm not really sure
I'm sorry)
I have to admit I don't fully understand all the implications of the
const qualifier. For example, I don't understand why a pointer to a
const stuff can not be compiled.
const char[] foo = "a string";
char * bar;
why can't I code bar = foo ? (If I remember, the gcc message was
pointing out some "dereference" restrictions, but I'm not really sure
I'm sorry)