Re: Which code style do you prefer the most?

Liste des GroupesRevenir à cl c 
Sujet : Re: Which code style do you prefer the most?
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.c
Date : 28. Feb 2025, 10:22:11
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vprv83$3jah9$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 27/02/2025 22:24, Keith Thompson wrote:
Richard Heathfield <rjh@cpax.org.uk> writes:
On 27/02/2025 12:56, Ar Rakin wrote:
bart <bc@freeuk.com> writes:
>
// isn't devoid of quirks (this is still C after all), for example:
>
     fopen(file,"rb");   // open file in \windows\system32\
     fread(...);
>
Here, the // line continues onto the next, so that the fread is
commented out. But they are fewer.
Interesting. Isn't this considered a compiler bug?
>
No. Line splicing occurs in Translation Phase 2. Comment removal
doesn't happen until Translation Phase3. If a compiler /didn't/ splice
those lines, /that/ would be a bug.
 <OT>Long time no see.  Welcome back!</OT>
 
As long as it's not "Long time no C" :-)

Date Sujet#  Auteur
3 Apr 26 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal