Re: Block Comments Or Rest-Of-Line Comments?

Liste des GroupesRevenir à cl c 
Sujet : Re: Block Comments Or Rest-Of-Line Comments?
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.c
Date : 22. Mar 2024, 17:20:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utkb40$311sb$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 3/21/24 15:23, Keith Thompson wrote:
Richard Harnden <richard.nospam@gmail.invalid> writes:
[...]
And sometimes, when it's not a really a comment, but rather a block of
code I don't want right now:
>
#ifdef 0
...
#endif
 
I think you mean "#if 0".

I'm sure he did. However, I'd like to mention that I have occasionally
used #ifdef with a macro name that I haven't #defined, and have no plans
to #define, but which describes the reason why I'm commenting this
section out. This is purely to document my reason, but should I ever
change my mind, I can simply #define the corresponding macro.

Date Sujet#  Auteur
22 Mar 24 * Re: Block Comments Or Rest-Of-Line Comments?3James Kuyper
22 Mar 24 +- Re: Block Comments Or Rest-Of-Line Comments?1Keith Thompson
23 Mar 24 `- Re: Block Comments Or Rest-Of-Line Comments?1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal