🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: memcpy et char

#15502
From: Harpo
Date: Fri, 23 Sep 2005 17:14
11 lines
1263 bytes
Emmanuel Delahaye wrote:
>>     char ch[taille + 1];
> 
> [C99] VLA ? Je ne connais pas d'impl�mentation conforme. Qu'est-ce qui
> ne va pas avec malloc() ?

Ca co�te cher.

On peut essayer alloca( ) en de�� d'une certaine taille en testant si le
syst�me le permet, je ne vois sinon aucune raison particuli�re de ne
pas allouer dans la pile.
Technical Details
Message-ID: <4334381a$0$20167$8fcfb975@news.wanadoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
References: <4333e995$0$17469$626a14ce@news.free.fr> <mn.bc1f7d598a134f88.15512@YOURBRAnoos.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!news2.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Message-ID: <4334381a$0$20167$8fcfb975@news.wanadoo.fr>
From: Harpo <trashcan@hotmail.com>
Subject: Re: memcpy et char
Newsgroups: fr.comp.lang.c
Date: Fri, 23 Sep 2005 19:14:34 +0200
References: <4333e995$0$17469$626a14ce@news.free.fr> <mn.bc1f7d598a134f88.15512@YOURBRAnoos.fr>
Organization: ARG ; Association pour la Rehabilitation du Goto
User-Agent: KNode/0.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
Lines: 11
NNTP-Posting-Date: 23 Sep 2005 19:15:06 CEST
NNTP-Posting-Host: 81.53.255.96
X-Trace: 1127495706 news.wanadoo.fr 20167 81.53.255.96:46811
X-Complaints-To: abuse@wanadoo.fr