Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C Programming Tutorial on Youtube Date: Thu, 13 Oct 2016 08:23:57 -0700 Organization: None to speak of Lines: 40 Message-ID: References: <8be0cdbe-c2f4-42ec-b6a7-e9a154981718@googlegroups.com> <622d88c0-fb42-4667-a6f1-db81a25ff23f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="2f0e64d192bea43a8327a03587074a79"; logging-data="15552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18v7gASkvuPbOkWhGqJ61V9" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:7up45CZN30o3Crim6GeTXPjlego= sha1:ZiEzjw8hVZP5YE5tiEi7b9N5QqI= Xref: csiph.com comp.lang.c:94825 Malcolm McLean writes: > On Wednesday, October 12, 2016 at 6:50:16 PM UTC+1, Richard Heathfield wrote: >> It hardly matters. If you don't mean an array, then it's beyond >> guessing, wild or otherwise. And if you do mean an array, why not say >> "array"? >> > Generally, by "array" people mean "array of data", which clearly isn't > the case here - we have no data. You can say that uninitialised memory > is an "array of int objects" if you want, but that's pretty confusing > also. C doesn't set up objects, a memory buffer is treated as > containing objects of the type pointed to. Malcolm, please stop this nonsense. An array object is an object of array type. It is an array object whether it's been initialized or not. I've asked you before to show an example of someone using the word "array" the way you do, and you have failed to do so. (I'm not asking again.) You are the *only* person who uses the word "array" in this particular incorrect sense, and I'm getting tired of having to point it out. Feel free to use the term "Malcolm-array" if you like -- or just "initialized array object", or perhaps what you mean is "array value". > "int objects" are just "memory which can hold an int". So if you > imagine the data as soldiers, and the memory as the parade ground, the > int objects are the little squares on the parade ground where the > soldiers can stand. Sometimes it might be helpful to have that image > in mind. No, it's not helpful at all. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"