Sujet : Re: DDD simulated by HHH cannot possibly halt (Halting Problem)
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : comp.lang.cDate : 04. Apr 2025, 03:58:47
Autres entêtes
Organisation : Fix this later
Message-ID : <vsnht7$26agq$2@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
[Post in comp.lang.c, read in comp.lang.c]
On 04/04/2025 03:45, olcott wrote:
On 4/3/2025 9:39 PM, Richard Heathfield wrote:
[Post in comp.lang.c, read in comp.lang.c]
>
On 04/04/2025 02:27, olcott wrote:
void DDD()
{
HHH(DDD);
return;
}
>
Do you really think that anyone knowing the C
programming language is too stupid to see that
DDD simulated by HHH cannot possibly return?
>
Anyone knowing the C language will know on seeing your code that
I am correct
Oh, I see. Yes, of course you are. Well done.
"DDD simulated by HHH cannot possibly return".
Then HHH cannot possibly simulate DDD.
everything else is off-topic for this post.
And HHH() is off-topic for this newsgroup. You started the thread in comp.lang.c, so to make it topical you'd have to rewrite HHH() in C instead of peppering your code with assembly language calls.
-- Richard HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within