memory reserves a string-variable

Discuss PocketC for Palm OS (including Desktop Edition)

Postby JoergB on Sun Dec 21, 2003 11:04 am

How much memory reserves a string-variable (I'm think not the max. stringer Lengthens) ?
Shall in dependence of the length of the used stringe memory reserved?
Can I save memory in PocketC, if defines char an array ? It has tried over pointers to find out however without success.

Merry x-mas and a happy new year for all
J?ɬ?rg
JoergB
 
Posts: 38
Joined: Tue Jun 12, 2001 5:38 pm

Postby dewey on Sun Dec 28, 2003 9:29 pm

Using strings is much more memory efficient than using arrays of chars.

Thanks
Jeremy
dewey
Site Admin
 
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 4 guests

cron