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:39:02
Autres entêtes
Organisation : Fix this later
Message-ID : <vsngo6$26agq$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
[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 your HHH is largely written not in C itself but in a mishmash of assembly calls with C syntax. Before asking any more questions about it in comp.lang.c, I suggest you rewrite it in straight C... if you can.
-- Richard HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within