> Having said all that, when you allocate a class object using new(),
> it goes onto the (scarce) heap.   So don't have any big arrays or
> strings in your class definition, just pointers, and then allocate
> non-heap memory for them inside your 'constructor'.

In addition to the problem Chris Tutty pointed out in his reply, I'm curious
about this part.  What do you mean by "allocate non-heap memory for them"?  If
not from the heap, where will the memory come from for the big arrays or
strings?

-- Keith




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to