Xref: utzoo comp.lang.c:12643 comp.lang.c++:1609 Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: const comparison in C and C++ Message-ID: <1411@solo3.cs.vu.nl> Date: 16 Sep 88 17:29:47 GMT References: <709@paris.ICS.UCI.EDU> <8500@smoke.ARPA> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 10 In article <8500@smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: \Essentially, C++ "const" means "constant"; ANSI C "const" means "readonly". Aha! That means the following is correct? const volatile int * const clock; /* clock is a readonly pointer to */ /* a readonly and volatile int */ -- Alles klar, |Maarten Litmaath @ Free U Amsterdam: Herr Kommissar? |maart@cs.vu.nl, mcvax!botter!maart