delorie.com/archives/browse.cgi | search |
From: | "-hs-" <email DOT invalid AT server DOT invalid> |
Newsgroups: | comp.lang.c,comp.os.msdos.djgpp |
Subject: | Re: what's this mean? |
Date: | Thu, 30 Nov 2000 22:55:24 +0100 |
Lines: | 34 |
Message-ID: | <906ick$9n4$1@news2.isdnet.net> |
References: | <3a267c5f DOT 0 AT news DOT syr DOT edu> <906dla$lj3$1 AT news5 DOT isdnet DOT net> <cpgd2tsc745qd362mat6pllg8spunmkch2 AT 4ax DOT com> |
NNTP-Posting-Host: | r79m66.cybercable.tm.fr |
X-Trace: | news2.isdnet.net 975621332 9956 195.132.79.66 (30 Nov 2000 21:55:32 GMT) |
X-Complaints-To: | abuse AT isdnet DOT net |
NNTP-Posting-Date: | 30 Nov 2000 21:55:32 GMT |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Damian Yerrick a écrit dans le message ... >On Thu, 30 Nov 2000 21:34:43 +0100, "-hs-" ><email DOT invalid AT server DOT invalid> wrote: > >>void mem_err(char const *, char const *) > >YM const char *. 'const char *' and 'char const *' are the same thing (Constant pointed value) 'char * const' is something else. (Constant pointer) >IIRC, with char const *, it's the pointer that's constant, not the Of course not. >value the pointer references. With const char *, the pointer can >change (using ++ and -- to move around in the vector), but nothing can >be modified through the pointer. In both cases. -- -hs- Tabs out, spaces in. CLC-FAQ: http://www.eskimo.com/~scs/C-faq/top.html ISO-C Library: http://www.dinkum.com/htm_cl FAQ de FCLC : http://www.isty-info.uvsq.fr/~rumeau/fclc
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |