This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Array Dimension Question


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]