🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: alignements struct/tableaux

#15621
From: harpo
Date: Sat, 17 Sep 2005 19:19
18 lines
1588 bytes
On Sat, 17 Sep 2005 21:04:24 +0200, Pierre Habouzit wrote:

> 
> hmmm, c'est bien dommage.
> 
> J'ai des structures dont un des membres est l'indice dans le tableau de mon
> union, du pointeur auquel il font r�f�rence. ca m'aurait permis de faire
> des trucs du genre :
> 
>     bar->array[baz->some_index]
> 
> Mais lorsque j'y acc�de textuellement je voulais �viter des
> bar->array[MY_UNION_FIRST] ... et donc pouvoir acc�der aux pointeurs du
> tableau par leur "nom".

Excusez-moi, mais j'ai du mal � comprendre votre probl�me; ce n'est pas
� la port�e d'un d�butant, est-ce que vous pourriez le pr�ciser pour
que tout le monde suive ?
Technical Details
Message-ID: <432c6c63$0$17061$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: <432c52d5$0$9425$626a14ce@news.free.fr> <mn.8cb87d59c7031bee.15512@YOURBRAnoos.fr> <432c688a$0$14382$626a14ce@news.free.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,2ab126dba8e5e645
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
From: harpo <trashcan@hotmail.com>
Subject: Re: alignements struct/tableaux
Date: Sat, 17 Sep 2005 21:19:40 +0200
Newsgroups: fr.comp.lang.c
References: <432c52d5$0$9425$626a14ce@news.free.fr> <mn.8cb87d59c7031bee.15512@YOURBRAnoos.fr> <432c688a$0$14382$626a14ce@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 18
Message-ID: <432c6c63$0$17061$8fcfb975@news.wanadoo.fr>
Organization: les newsgroups par Wanadoo
NNTP-Posting-Date: 17 Sep 2005 21:20:04 CEST
NNTP-Posting-Host: 86.195.160.242
X-Trace: 1126984804 news.wanadoo.fr 17061 86.195.160.242:44489
X-Complaints-To: abuse@wanadoo.fr