Re: Only C programmers tell the truth about the behavior of DD simulated by HHH

Liste des GroupesRevenir à cl c 
Sujet : Re: Only C programmers tell the truth about the behavior of DD simulated by HHH
De : richard (at) *nospam* damon-family.org (Richard Damon)
Groupes : comp.lang.c
Date : 17. Apr 2025, 23:52:17
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <c8041ecdcd4efaf109eb264050544813434dd258@i2pn2.org>
References : 1
User-Agent : Mozilla Thunderbird
On 4/17/25 11:38 AM, olcott wrote:
 typedef void (*ptr)();
int HHH(ptr P);
  int DD()
{
   int Halt_Status = HHH(DD);
   if (Halt_Status)
     HERE: goto HERE;
   return Halt_Status;
}
 int main()
{
   HHH(DD);
}
 DD simulated by HHH includes HHH simulating itself
simulating DD until HHH sees the non-terminating
pattern and rejects DD as non-terminating.
 
No, because a real C programmer knows that the above has EXPLICT underfined behavior, because that program doesn't have an HHH defined.
And, if you try to equivocate and say you are including your Halt7.c to define it, then you explaniation is wrong, as your HHH is not defined to do that, but to only simulate the input for a little bit, then abort its simulation and return.
The problem is when you include that definition, all your descriptions become errors.
First, HHH doesn't do what you claim, and even your question become errors as you can't ask about the correct answer it could return, when, because it has to be difined first, there is only one answer that it DOES return.
You can't base the answer on it doing a correct simulation, when it doesn't actually do one.
All you are proving is that your logic, and yourself, is just unsound, as it is based on the assumption of false statement.
This just proves that you are nothing but a pathological liar that doesn't understand what he is talking about.

Date Sujet#  Auteur
17 Apr 25 * Only C programmers tell the truth about the behavior of DD simulated by HHH22olcott
17 Apr 25 +* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH19Bonita Montero
17 Apr 25 i`* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH18olcott
18 Apr 25 i +* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH16Bonita Montero
18 Apr 25 i i+* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH2olcott
18 Apr 25 i ii`- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1Bonita Montero
19 Apr 25 i i`* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH13Mikko
19 Apr 25 i i +* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH11Bonita Montero
19 Apr 25 i i i`* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH10olcott
20 Apr 25 i i i `* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH9Mikko
20 Apr 25 i i i  `* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH8olcott
20 Apr 25 i i i   +* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH4Bonita Montero
20 Apr 25 i i i   i+- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1olcott
20 Apr 25 i i i   i`* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH2Chris M. Thomasson
20 Apr 25 i i i   i `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1olcott
21 Apr 25 i i i   `* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH3Mikko
21 Apr 25 i i i    `* Re: Only C programmers tell the truth about the behavior of DD simulated by HHH2olcott
22 Apr 25 i i i     `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1Mikko
19 Apr 25 i i `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1olcott
18 Apr 25 i `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1Wuns Haerst
17 Apr 25 +- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1Richard Damon
18 Apr 25 `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1Mikko

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal