Liste des Groupes | Revenir à c theory |
On 5/8/2025 6:49 PM, Keith Thompson wrote:So you retract your stipulations?olcott <polcott333@gmail.com> writes:For the purpose of this discussion HHH is exactly
[...]void DDD()>
{
HHH(DDD);
return;
}
>
If you are a competent C programmer then you
know that DDD correctly simulated by HHH cannot
possibly each its own "return" instruction.
"cannot possibly each"?
>
I am a competent C programmer (and I don't believe you can make
the same claim). I don't know what HHH is. The name "HHH" tells
me nothing about what it's supposed to do. Without knowing what
HHH is, I can't say much about your code (or is it pseudo-code?).
>
what I said it is. It correctly simulates DDD.
We need not know anything else about HHH toExcpet that then you can't change HHH to make it the decider, as that changes the code of the program to be decided.
know that DDD correctly simulated by HHH cannot
possibly REACH its own "return" instruction.
The return statement is harmless but unnecessary.I am using Microsoft Visual Studio 2017.
>
"void DDD()" should be "void DDD(void)" (unless you're using C23, but
we've established that your not). Why did you choose to use empty
parentheses? (If you answer nothing else, please answer that.)
>
It compiled cleanly.
Les messages affichés proviennent d'usenet.