🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: memcpy et char

#15383
From: Emmanuel Delahaye
Date: Sun, 25 Sep 2005 19:40
27 lines
1916 bytes
Alain CROS wrote on 25/09/05 :
> J'ai un peu exploit� toutes les r�ponses, dont certaines comportaient des 
> termes que je n'ai pas compris( VLA , OP). 

VLA : Variable Length Array. Une nouvelle possibilit� de C99. A ma 
connaissance, il n'y a pas d'impl�mentation conforme des VLA.

OP : Original Poster (Questionneur initial)

> Je pense que ma fonction tiens 
> maintenant un peu mieux la route.
>
> #include <ctype.h>

<...>

Pourquoi est-ce aussi compliqu� avec des +1 et des -1 dans tous les 
sens. Il suffit d'utiliser un index bas� en 0 comme il se doit et c'est 
tout.

-- 
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.cd147d59bf8ddb92.15512@YOURBRAnoos.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.newsland.it!proxad.net!infeed-2.proxad.net!news15-e.free.fr!not-for-mail
References: <4333e995$0$17469$626a14ce@news.free.fr> <4335b780$0$5400$8fcfb975@news.wanadoo.fr> <4336f07f$0$18817$626a14ce@news.free.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,366ad66ae342f8da
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.newsland.it!proxad.net!infeed-2.proxad.net!news15-e.free.fr!not-for-mail
Subject: Re: memcpy et char
From: "Emmanuel Delahaye" <emdel@YOURBRAnoos.fr>
References: <4333e995$0$17469$626a14ce@news.free.fr> <4335b780$0$5400$8fcfb975@news.wanadoo.fr> <4336f07f$0$18817$626a14ce@news.free.fr>
Newsgroups: fr.comp.lang.c
Message-ID: <mn.cd147d59bf8ddb92.15512@YOURBRAnoos.fr>
X-Newsreader: MesNews/1.04.00.00-fr
Date: Sun, 25 Sep 2005 21:40:56 +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: 25 Sep 2005 21:40:57 MEST
NNTP-Posting-Host: 81.65.109.78
X-Trace: 1127677257 news15-e.free.fr 4712 81.65.109.78:23499
X-Complaints-To: abuse@proxad.net