Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: kandr2 question |
| Date | 2012-10-30 18:36 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <k6pkol$9f9$1@dont-email.me> (permalink) |
| References | (1 earlier) <d557e541-7b40-4174-9b06-93fc0d18bad4@m4g2000yqf.googlegroups.com> <k6pi2j$o94$1@dont-email.me> <3f556c91-92ab-4d83-96d2-7d7952a356ee@s18g2000yqh.googlegroups.com> <k6pj4t$vet$1@dont-email.me> <f3b175f8-f198-45da-941c-4eced1b40e7f@m4g2000yqf.googlegroups.com> |
On 10/30/2012 06:11 PM, tom st denis wrote: > On Oct 30, 6:08�pm, "BartC" <b...@freeuk.com> wrote: >> "tom st denis" <t...@iahu.ca> wrote in messagenews:3f556c91-92ab-4d83-96d2-7d7952a356ee@s18g2000yqh.googlegroups.com... ... >>> If you don't know that char s[] is equivalent to char *s by now you >>> have to be trolling and are deserving of contempt. >> >> But in certain contexts, they are not the same. The question is reasonable. > > As a function parameter? They're entirely interchangeable. It's > convention to use the star but you can use [] if it floats your boat. No - as he said, they're different only "in certain contexts". The fact that there are contexts where it does make a difference, means that it's not unreasonable for a newbie to be unaware of their equivalence in this context. It is, of course, completely unreasonable for someone like Bill Cunningham, who has been "learning" C for more than a decade, and should therefore have long since ceased being a newbie, to be unaware of this fact. -- James Kuyper
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 17:41 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 14:48 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 17:50 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 14:56 -0700
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:01 -0700
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:07 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:12 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:15 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:25 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:27 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:59 -0500
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:29 -0800
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:30 -0700
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:36 -0700
Re: kandr2 question Kenneth Brody <kenbrody@spamcop.net> - 2012-10-31 14:15 -0400
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:04 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:07 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:09 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:13 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:30 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:50 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:28 -0500
Re: kandr2 question Lew Pitcher <lpitcher@teksavvy.com> - 2012-10-30 19:39 -0400
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:50 -0500
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:45 -0800
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:43 -0800
Re: kandr2 question Kenneth Brody <kenbrody@spamcop.net> - 2012-10-31 14:21 -0400
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:43 -0800
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:40 -0800
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:31 -0700
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:36 -0700
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:37 -0800
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:07 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:10 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:47 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:52 -0700
Re: kandr2 question "BartC" <bc@freeuk.com> - 2012-10-30 22:08 +0000
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:11 -0700
Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-30 18:36 -0400
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:44 -0500
Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:53 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:06 -0500
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:12 -0500
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:49 -0800
Re: kandr2 question Old Wolf <oldwolf@inspire.net.nz> - 2012-11-11 14:37 -0800
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:27 -0800
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:00 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:18 -0500
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 16:13 -0700
Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 23:31 +0000
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 17:45 -0700
Re: kandr2 question Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2012-10-31 05:43 -0700
Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-31 13:33 +0000
Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-31 10:27 -0400
Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-31 16:11 +0000
Re: kandr2 question Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2012-11-07 14:53 -0800
Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-31 10:38 -0400
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:39 -0500
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 17:51 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 13:47 -0500
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:55 -0800
Re: kandr2 question Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-10-31 19:48 +0200
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:52 -0800
Re: kandr2 question hormelfree@gmail.com - 2012-11-10 11:23 -0800
Re: kandr2 question "BartC" <bc@freeuk.com> - 2012-10-31 01:56 +0000
Re: kandr2 question "christian.bau" <christian.bau@cbau.wanadoo.co.uk> - 2012-10-30 18:44 -0700
Re: kandr2 question Barry Schwarz <schwarz45@yahoo.com> - 2012-10-30 20:32 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 13:52 -0500
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 11:20 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 14:37 -0500
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 14:40 -0500
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 12:18 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 15:29 -0500
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 16:56 -0500
Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 15:05 -0700
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 13:11 -0500
Re: kandr2 question Barry Schwarz <schwarz45@yahoo.com> - 2012-10-31 21:44 -0700
Re: kandr2 question Ike Naar <ike@sverige.freeshell.org> - 2012-11-01 09:34 +0000
Re: kandr2 question Barry Schwarz <schwarzb@dqel.com> - 2012-11-01 12:13 -0700
Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 07:04 -0800
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 15:26 -0500
Re: kandr2 question Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-11-01 17:56 +0200
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 13:14 -0500
Re: kandr2 question SG <sgesemann@gmail.invalid> - 2012-10-31 20:14 +0100
Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 20:04 -0500
csiph-web