🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6203

[C/C++] Conocer la longitud de un 'array' de punteros

#6203
From: Han Solo
Date: Mon, 21 Jul 2003 14:49
31 lines
1788 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hola a todos.

Supongamos que tengo una funci�n que devuelve un puntero a struct, que
es en realidad un array. �ha manera de saber el n�mero de elementos de
ese array?. Lo he intentado con sizeof(), pero no funciona

Gracias por adelantado.

Un Saludo
- -- 
Han Solo
The Rebel Alliance

Emacs is not on every system

So what? [...] Do you tell your administrative people to stick with
notepad.exe? Do you tell your fat kids they can only have the crummy
games that come with their video games or plain dress that comes with
Barbie?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE/G/1k4FjpJaPEp20RAu95AKDNkzEeI3rzFZxormLmfMWY9ntRAQCeNhyo
4mMH2tEmZEphBYulXGgOfk0=
=+5k2
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <861xwkq6jb.fsf@pc147.ietcc.csic.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!pc147.ietcc.csic.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,9e7385e39807d1e3,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-07-21 07:50:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!pc147.ietcc.csic.ES!not-for-mail
From: Han Solo <hsolo@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: [C/C++] Conocer la longitud de un 'array' de punteros
Date: 21 Jul 2003 16:49:12 +0200
Lines: 31
Message-ID: <861xwkq6jb.fsf@pc147.ietcc.csic.es>
NNTP-Posting-Host: pc147.ietcc.csic.es (161.111.230.147)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1058799043 15329687 161.111.230.147 (16 [63837])
X-Orig-Path: ID-63837.user.dfncis.de!news
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7