Sujet : Re: DD simulated by HHH cannot possibly halt (Halting Problem)
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.lang.cDate : 05. Apr 2025, 20:21:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsrvsd$317k3$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Mozilla Thunderbird
On 4/5/2025 2:12 PM, Richard Heathfield wrote:
On 05/04/2025 20:01, olcott wrote:
As any C programmer can see DDD simulated by HHH would cause
any correct simulator to get stuck in recursive simulation
As any C programmer can see, any C compiler is free to reject your code,
typedef void (*ptr)();
int HHH(ptr P);
void DDD()
{
HHH(DDD);
return;
}
The above code is correct to the extent that some
HHH is defined somewhere, so it seems that you are
wrong and trying to change the subject.
-- Copyright 2025 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer