Thread: Malloc?
View Single Post
  #5   Spotlight this post!  
Unread 03-02-2007, 16:56
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Malloc?

I'm curious guys -

I've read the white paper on the limits of the pic - 30k, 256 bytes, etc etc.

Can someone tell me HOW to measure those on the program I'm writing? How do I know how many bytes my variables will take, and how do I know whether I'm using the full 30k or not?

Do I go through and manually try to figure out how big it's going to be by counting variables and their sizes?