Sujet : Re: Buffer contents well-defined after fgets() reaches EOF ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 17. Feb 2025, 03:50:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vou865$s0ph$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Pan/0.161 (Chasiv Yar; )
On Sun, 09 Feb 2025 22:41:36 -0800, Keith Thompson wrote:
if (condition)
statement1;
statement2;
This is why I got into the habit of writing it like
if (condition)
{
statement1;
} /*if*/
statement2;
By the way, the braces are mandatory in Perl. Wonder why?