Tom Fogal <[EMAIL PROTECTED]> writes: > the const int way stores the variable in read only memory, and thus, IMO is a > waste of memory. Also, it would be required to do a memory lookup when > accessing the value.
The value *might* get stored in read-only memory. The standard doesn't require this. [snip] > Finally, I've never actually heard of 'const' in C. I know that it was > introduced with C++, although i would not be surprised to see later editions > of the C standard included it. > It is not in K&R ('the white book'), IIRC. Unless you're looking at the old testament, I gotta believe its in there. "const" most certainly exists in C. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss