const comparison in C and C++

Doug Gwyn gwyn at smoke.ARPA
Thu Sep 15 22:06:19 AEST 1988


In article <709 at paris.ICS.UCI.EDU> schmidt at beaver.ics.uci.edu (Doug Schmidt) writes:
>I'm interested to know the conceptual
>differences between the two languages on this point.

Essentially, C++ "const" means "constant"; ANSI C "const" means "readonly".



More information about the Comp.lang.c mailing list