Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!andante!alice!bs From: bs@alice.UUCP (Bjarne Stroustrup) Newsgroups: comp.lang.c++ Subject: Re: const applied to arrays in C++ Summary: of course Message-ID: <8149@alice.UUCP> Date: 31 Aug 88 13:17:08 GMT References: <658@paris.ICS.UCI.EDU> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 18 Your example > const int array[] = {4,5,6,7,8}; > > main() { > array[3] = 8; > } gives me this (using cfront) "", line 4: error: assignment to constant The declaration is correct and so is the compiler's response to the assignment This question is one that is answered quite clearly in the manual.