Problems allocating 300k data structure using Turbo C
Chris Torek
torek at elf.ee.lbl.gov
Wed Mar 20 06:02:48 AEST 1991
In article <1991Mar15.230133.16073 at lynx.CS.ORST.EDU> kemps at prism.CS.ORST.EDU
(Scott Micheal Kemp) writes:
> POINTS huge (*points)[];
Ignoring the `huge' modifier, this declares `points' as a
pointer to array ? of POINTS
where `?' means `I have no idea how big this array is'. Such a type
is nearly useless; I claim it should not exist at all, but for the fact
that it has to, to give meaning to
extern char foo[];
... &foo
There is nothing you can do with a `pointer to array ? of T' that you
cannot do with just a `pointer to T', so you might as well ignore the
existence of this type.
See the Frequently Asked Questions for more details.
--
In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427)
Berkeley, CA Domain: torek at ee.lbl.gov
More information about the Comp.lang.c
mailing list