This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Array Dimension Question
- To: "'Vanhouten, Chris L'" <chris dot l dot vanhouten at lmco dot com>
- Subject: RE: Array Dimension Question
- From: "Rupert Wood" <me at rupey dot net>
- Date: Wed, 17 Oct 2001 08:27:14 +0100
- Cc: <gcc-help at gcc dot gnu dot org>
Chris L. Vanhouten wrote:
> Is there a way to get around the array size limitation?
Forgive my ignorance - what array size limitation?
If you mean that your OS limits the amount of space you can take from
the stack, you could always dynamically allocate an array on the heap:
malloc() in C, then recast the pointer and free() when you're done, or
new then delete in C++.
Rup.