www.delorie.com/archives/browse.cgi | search |
From: | DavMac AT iname DOT com (Davin McCall) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Dynamic Array - Need HELP |
Date: | Mon, 05 Jul 1999 05:50:50 GMT |
Organization: | Monash Uni |
Lines: | 19 |
Distribution: | world |
Message-ID: | <3780478e.3365651@newsserver.cc.monash.edu.au> |
References: | <TqRf3.25$Ew4 DOT 7061 AT wagner DOT videotron DOT net> <Pine DOT GSO DOT 3 DOT 96 DOT 990704225318 DOT 21776A-100000 AT gold DOT cs DOT umanitoba DOT ca> |
NNTP-Posting-Host: | damcc5.halls.monash.edu.au |
X-Trace: | towncrier.cc.monash.edu.au 931153829 597 130.194.198.138 (5 Jul 1999 05:50:29 GMT) |
X-Complaints-To: | abuse AT monash DOT edu DOT au |
NNTP-Posting-Date: | 5 Jul 1999 05:50:29 GMT |
X-Newsreader: | Forte Free Agent 1.1/32.230 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Size of any pointer is 8 bytes? Surely it is 4 bytes? Davin. On Sun, 4 Jul 1999 22:55:43 -0500, Mark Phillips <umphill5 AT cs DOT umanitoba DOT ca> wrote: [snip] >well, because v is a pointer to a pointer, and the size of any pointer is >8 bytes. don't worry, your memory is allocated fine, it's just that since >it is dynamically allocated, you can't use sizeof() to check how much >memory you allocated. > >mark > __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |