Liste des Groupes | Revenir à cl c |
Sam <sam@email-scan.com> writes:Keith Thompson the defender of truth, justice and honesty.olcott writes:I don't read what olcott posts to comp.lang.c or comp.lang.c++, but it
>>>>
As I already explained, it's syntactically invalid C, that no self-
respecting C compiler will accept as well-formed code.
>
Fibber !
>
On 5/20/2024 9:23 PM, Keith Thompson wrote:The code as presented is a valid C *translation unit*, but it is
not a valid *program*, and it has no behavior.
>
Please stop accusing Mr. Thompson. He's only telling you the truth:
the shown code "is not a valid *program*". Which part of that you did
not understand? If you don't believe me, just ask Keith Thompson.
appears that he was accusing you, Sam, not me. (I have no reason to
think you're lying, but I do think you statement is either incorrect or
unclear.)
That should be the last word on this: your code is not a validSam, your claim that it's "syntactically invalid C" is incorrect, unless
program. Thank you for playing. You can go home now.
you're quibbling about the line numbers that are obviously not intended
to be part of the code.
Are the line numbers the reason you say it's syntactically invalid?
The code olcott posted, with the line numbers removed, is syntactically
valid C. It is not a complete program due to the lack of a definition
for one of the functions. It could be part of a complete program (one
about which, as it happens, I don't care).
Sam, are you trolling? If you're trolling olcott, I don't care, but
please don't do it in comp.lang.c and comp.lang.c++.
Les messages affichés proviennent d'usenet.