Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PB and enforcing Stack Size



On 4/9/03 1:39 PM, "Gary Meyer" <email@hidden> wrote:

> I wrote some code that uses a very simple, but very large array - It's
> a simple program after all

You shouldn't declare very large arrays - you should use malloc to
initialize a pointer to the right amount of memory. After that, you can use
the pointer in just the same way you would use the array.
E.g. ptr[i]

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >PB and enforcing Stack Size (From: Gary Meyer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.