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

Liste des GroupesRevenir à c theory 
Sujet : Only C programmers tell the truth about the behavior of DD simulated by HHH
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.lang.c comp.theory comp.lang.c++
Suivi-à : comp.lang.c
Date : 17. Apr 2025, 16:38:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtr79n$u6o3$1@dont-email.me>
User-Agent : Mozilla Thunderbird
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.
--
Copyright 2025 Olcott "Talent hits a target no one else can hit; Genius
hits a target no one else can see." Arthur Schopenhauer

Date Sujet#  Auteur
17 Apr 25 * Only C programmers tell the truth about the behavior of DD simulated by HHH2olcott
17 Apr 25 `- Re: Only C programmers tell the truth about the behavior of DD simulated by HHH1olcott

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal