Deutsch   English   Français   Italiano  
<v6r4bp$308g3$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: James Kuyper <jameskuyper@alumni.caltech.edu>
Newsgroups: comp.lang.c
Subject: =?UTF-8?Q?Re=3A_technology_discussion_=E2=86=92_does_the_world_need?=
 =?UTF-8?B?IGEgIm5ldyIgQyA/?=
Date: Fri, 12 Jul 2024 07:34:17 -0400
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <v6r4bp$308g3$1@dont-email.me>
References: <v66eci$2qeee$1@dont-email.me> <v6ard1$3ngh6$4@dont-email.me>
 <v6b0jv$3nnt6$1@dont-email.me> <87h6d2uox5.fsf@nosuchdomain.example.com>
 <v6d779$6rk5$2@dont-email.me> <v6e76u$c0i9$1@dont-email.me>
 <v6esqm$fian$2@dont-email.me> <v6f7vg$hgam$1@dont-email.me>
 <20240707164747.258@kylheku.com> <v6gl83$s72a$1@dont-email.me>
 <v6h8ao$ur1v$1@dont-email.me> <v6jhk3$1drd6$1@dont-email.me>
 <v6jiud$1dsjb$1@dont-email.me> <877cdur1z9.fsf@bsb.me.uk>
 <v6joi4$1epoj$1@dont-email.me> <871q42qy33.fsf@bsb.me.uk>
 <v6k6i0$1h4d3$1@dont-email.me> <87ed82p28y.fsf@bsb.me.uk>
 <v6m03l$1tf05$1@dont-email.me> <87r0c1nzjj.fsf@bsb.me.uk>
 <v6m716$1urj4$1@dont-email.me> <87ikxconq4.fsf@bsb.me.uk>
 <v6n8iu$24af0$1@dont-email.me> <20240711115418.00001cdf@yahoo.com>
 <v6oamt$2d8nn$1@dont-email.me> <v6oct4$2djgq$2@dont-email.me>
 <v6of96$2ekb0$1@dont-email.me> <v6ovfc$2hcpf$1@dont-email.me>
 <v6p4hf$2icph$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Jul 2024 13:34:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4832b035291dc54233b2e6d08cbaa6a3";
	logging-data="3154435"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18jqJ3XPd+LsLyhlwHRTnPNr3xW/Y42vqc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:MVgB4w1eOR/8kqZ4mtJ/5crK50A=
Content-Language: en-US
In-Reply-To: <v6p4hf$2icph$1@dont-email.me>
Bytes: 3283

On 11/07/2024 19:25, bart wrote:
> On 11/07/2024 16:58, David Brown wrote:
....
>> You've mentioned very clearly that your understanding of C is a mess.  
>> C itself is quite simple here, 
> 
> Not it isn't. The fact that I can do this:
> 
>      void F(vector a) {}          // typedef byte vector[100];
> 
> and get the type of 'a' as 'byte*', sizeof(a) as 8, sizeof(*a) as 1, but 
> sizeof(vector) as 100, suggests all sorts of shenanigans.

No, just one shenanigan. It suggests that when a function parameter is
declared as an array of 'type', that it is treated as a declaration of a
pointer to that type.

Every fact that you listed above follows from this rule which is very
explicitly stated in the C standard and any C textbook, and which is
simple enough that most C newbies figure it out fairly quickly. It has
already been explained to you hundreds of times over the past decade or
so - but has apparently never actually gotten into your brain

>> and the rules are not hard to understand. 
> 
> Ha ha ha! Of course you would say that. 

Keep in mind that you've proven repeatedly that your ability to
understand even the simplest features of C is quite negligible. The fact
that you can't understand it proves almost nothing about how hard it is
for most people to understand.