Article View: fr.comp.lang.c
Article #15521Re: champ de bits...
From: Emmanuel Delahaye
Date: Sat, 24 Sep 2005 08:23
Date: Sat, 24 Sep 2005 08:23
27 lines
1538 bytes
1538 bytes
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;
};
--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html
"It's specified. But anyone who writes code like that should be
transmogrified into earthworms and fed to ducks." -- Chris Dollin CLC
Technical Details
Message-ID:
<mn.c26f7d59458fb3ba.15512@YOURBRAnoos.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,f57b8b7d4d821213 X-Google-Attributes: gidf9822,public X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail Subject: Re: champ de bits... From: "Emmanuel Delahaye" <emdel@YOURBRAnoos.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> Newsgroups: fr.comp.lang.c Message-ID: <mn.c26f7d59458fb3ba.15512@YOURBRAnoos.fr> X-Newsreader: MesNews/1.04.00.00-fr Date: Sat, 24 Sep 2005 10:23:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Lines: 29 Organization: Guest of ProXad - France NNTP-Posting-Date: 24 Sep 2005 10:23:46 MEST NNTP-Posting-Host: 81.65.109.78 X-Trace: 1127550226 news18-e.free.fr 4302 81.65.109.78:18399 X-Complaints-To: abuse@proxad.net