Article View: fr.comp.lang.c
Article #15058Re: bug dans un petit programme
From: Thierry B
Date: Sun, 16 Oct 2005 11:23
Date: Sun, 16 Oct 2005 11:23
8 lines
1542 bytes
1542 bytes
Ha oki. Quand on declare un pointeur vers un char au lieu d'un tableau, on est forcé de faire nous même le malloc donc (qui appremment n'est pas nécessaire quand on declare un tableau), et ensuite de faire un free en fin de programme sur le char* ? Merci :-) A+
Technical Details
Message-ID:
<1129461802.259474.27710@g43g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mailReferences:
<1129454997.732041.79560@g43g2000cwa.googlegroups.com> <BF77FB36.4824C%new@levenez.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,825aa0bc6fede96b X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "Thierry B" <thierry.bouhnik@gmail.com> Newsgroups: fr.comp.lang.c Subject: Re: bug dans un petit programme Date: 16 Oct 2005 04:23:22 -0700 Organization: http://groups.google.com Lines: 9 Message-ID: <1129461802.259474.27710@g43g2000cwa.googlegroups.com> References: <1129454997.732041.79560@g43g2000cwa.googlegroups.com> <BF77FB36.4824C%new@levenez.com> NNTP-Posting-Host: 82.224.47.63 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1129461807 18157 127.0.0.1 (16 Oct 2005 11:23:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 16 Oct 2005 11:23:27 +0000 (UTC) In-Reply-To: <BF77FB36.4824C%new@levenez.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=82.224.47.63; posting-account=8zpqDA0AAACpm8oU5_TKS1gqRyX3CEVa