Article View: fr.comp.lang.c
Article #15210Re: rot13 [Was : Re: conjugaison et autres ...]
From: Charlie Gordon
Date: Wed, 05 Oct 2005 08:51
Date: Wed, 05 Oct 2005 08:51
31 lines
3170 bytes
3170 bytes
"Pierre Maurette" <maurettepierre@wanadoo.fr> wrote in message news:mn.25597d5afb4b90d6.31483@laposte.net... > Harpo, le 04/10/2005, a �crit : > > Emmanuel Delahaye wrote: > > > >> Harpo wrote on 03/10/05 : > >>> Ca veut dire quoi 'comme �tant sign� ou pas sign�' ? > >> > >> Que le type standard 'char' est sign� ou non selon l'impl�mentation. > > > > Je ne m'en souvenais plus. > > C'est une atteinte insoutenable � la portabilit�. > > > > Serait tu d'accord pour dire qu'il est pr�f�rable de d�clarer > > explicitement les char comme signed ou unsigned d�s qu'il y a le > > moindre risque qu'il y ait des effets diff�rents selon leur signe. > J'essaie de m'en tenir � la r�gle suivante: si le char est un > caract�re, une lettre, il reste un char. > Si c'est un entier, je d�finissais sbyte et ubyte, avec parfois des > variantes, en particulier si j'en connais n�cessairement la taille. > J'utilise de plus en plus quand c'est possible les uint8_t et int8_t. > J'aurais pr�f�r� sint8_t. > Mes choix de noms sont peut-�tre discutables, mais j'aime bien ne > nommer char que des caract�res. Tout � fait d'accord. Personnellement, j'utilise byte pour les zones de m�moire que je d�finis comme non sign�. -- Chqrlie.
Technical Details
Message-ID:
<434393ba$0$8945$626a14ce@news.free.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!newsrouter-eu.astraweb.com!proxad.net!infeed-1.proxad.net!news3-e.free.fr!not-for-mailReferences:
<1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43403203$0$5388$8fcfb975@news.wanadoo.fr> <43403d27$0$306$7a628cd7@news.club-internet.fr> <dhq3bs$dbc$1@reader1.imaginet.fr> <4340d2c9$0$27410$8fcfb975@news.wanadoo.fr> <4340ec30$0$303$7a628cd7@news.club-internet.fr> <43411501$0$27446$8fcfb975@news.wanadoo.fr> <mn.1c7e7d5a85d1ce18.15512@YOURBRAnoos.fr> <434184c2$0$1728$8fcfb975@news.wanadoo.fr> <mn.1d527d5ac94c53f2.15512@YOURBRAnoos.fr> <4342e0e9$0$17227$8fcfb975@news.wanadoo.fr> <mn.25597d5afb4b90d6.31483@laposte.net>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,b21b26167a936e28 X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!newsrouter-eu.astraweb.com!proxad.net!infeed-1.proxad.net!news3-e.free.fr!not-for-mail From: "Charlie Gordon" <news@chqrlie.org> Newsgroups: fr.comp.lang.c References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43403203$0$5388$8fcfb975@news.wanadoo.fr> <43403d27$0$306$7a628cd7@news.club-internet.fr> <dhq3bs$dbc$1@reader1.imaginet.fr> <4340d2c9$0$27410$8fcfb975@news.wanadoo.fr> <4340ec30$0$303$7a628cd7@news.club-internet.fr> <43411501$0$27446$8fcfb975@news.wanadoo.fr> <mn.1c7e7d5a85d1ce18.15512@YOURBRAnoos.fr> <434184c2$0$1728$8fcfb975@news.wanadoo.fr> <mn.1d527d5ac94c53f2.15512@YOURBRAnoos.fr> <4342e0e9$0$17227$8fcfb975@news.wanadoo.fr> <mn.25597d5afb4b90d6.31483@laposte.net> Subject: Re: rot13 [Was : Re: conjugaison et autres ...] Date: Wed, 5 Oct 2005 10:51:15 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Lines: 33 Message-ID: <434393ba$0$8945$626a14ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 05 Oct 2005 10:50:02 MEST NNTP-Posting-Host: 81.57.219.236 X-Trace: 1128502202 news3-e.free.fr 8945 81.57.219.236:44090 X-Complaints-To: abuse@proxad.net