🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15376

Re: champ de bits...

#15376
From: Pierre Maurette
Date: Sat, 24 Sep 2005 08:51
26 lines
1897 bytes
Emmanuel Delahaye, le 24/09/2005, a �crit :
> Pierre Maurette wrote on 24/09/05 :
>> Notez que C99 autorise:
>> struct cfg
>>    {
>>     _Bool t1:1;
>>     _Bool t2:1;
>>     };
>
> Personne n'utilise _Bool qui est une syntaxe de compatibilit�, mais
>
> #include <stdbool.h>
>
> et bool
>
> struct cfg
> {
>    bool t1:1;
>    bool t2:1;
> };
Je n'utilise pas _Bool non plus, je citais la norme C99. Juste avant, 
j'�crivais:
bool state = (cfg.t1 != 0);

-- 
Pierre Maurette
Technical Details
Message-ID: <mn.c28b7d59f8a333c2.31483@laposte.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-2.proxad.net!news16-e.free.fr!not-for-mail
References: <433442ce$0$12992$7a628cd7@news.club-internet.fr> <4334462d$0$24227$626a14ce@news.free.fr> <dh2gbt$6f6$1@reader1.imaginet.fr> <mn.c2627d590d12cbdb.31483@laposte.net> <mn.c26f7d59458fb3ba.15512@YOURBRAnoos.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,f57b8b7d4d821213
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-2.proxad.net!news16-e.free.fr!not-for-mail
Subject: Re: champ de bits...
From: "Pierre Maurette" <maurettepierre@wanadoo.fr>
References: <433442ce$0$12992$7a628cd7@news.club-internet.fr> <4334462d$0$24227$626a14ce@news.free.fr> <dh2gbt$6f6$1@reader1.imaginet.fr> <mn.c2627d590d12cbdb.31483@laposte.net> <mn.c26f7d59458fb3ba.15512@YOURBRAnoos.fr>
Newsgroups: fr.comp.lang.c
Message-ID: <mn.c28b7d59f8a333c2.31483@laposte.net>
X-Newsreader: MesNews/1.04.00.00
Date: Sat, 24 Sep 2005 10:51:13 +0200
MIME-Version: 1.0
X-Face: cmi$3R1_J{[}5K|8d'LDiJ$SsZ*gn,j*PhJ#KVGt+45,E_N9O}GrhhQ>fb&q<&lz=g%PEv' u"m)N|KrBMux?2:E?N7Uw3L#H>L#GwM}<qH-?#_Y$B9]$q1"~iUGtN#HVy?}7.`m&iKF>gY:.`W.qu z`1'W'h-AXPmB]#7~<+@H.<0M`-jBkCWbmkcT_*LBVD3|p1a?h1H;cHq{$-vbeP@Hdcqp5z~lwU7ZK `~
Reply-To: maurettepierre@wanadoo.fr
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 0538-7, 23/09/2005), Outbound message
X-Antivirus-Status: Clean
Lines: 28
Organization: Guest of ProXad - France
NNTP-Posting-Date: 24 Sep 2005 10:49:35 MEST
NNTP-Posting-Host: 84.7.253.95
X-Trace: 1127551775 news16-e.free.fr 20958 84.7.253.95:3826
X-Complaints-To: abuse@proxad.net