Sujet : DDD simulated by HHH cannot possibly halt (Halting Problem)
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theory comp.lang.c comp.lang.c++Suivi-à : comp.theoryDate : 04. Apr 2025, 02:27:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsnchj$23nrb$2@dont-email.me>
User-Agent : Mozilla Thunderbird
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?
01 int DD(int (*x)())
02 {
03 int Halt_Status = HH(x, x);
04 if (Halt_Status)
05 HERE: goto HERE;
06 return Halt_Status;
07 }
08
09 int main()
10 {
11 Output("Input_Halts = ", HH(DD,DD));
12 }
DD simulated by HHH has the same behavior
as DDD simulated by HHH.
CAR T infusion tomorrow.
(drastic cancer treatment)
-- Copyright 2025 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer
| Date | Sujet | # | | Auteur |
| 20 Apr 26 | … | | | |
Haut de la page
Les messages affichés proviennent d'usenet.
NewsPortal