View unanswered posts | View active topics It is currently Tue May 26, 2020 9:22 am

Reply to topic  [ 1 post ] 
bitfield and size optimization 
Author Message

Joined: Sat Dec 15, 2007 5:08 am
Posts: 7
Post bitfield and size optimization
I have had a bug while running my program on NXT brick and the message on the screen was about memory (i don't remember the exact message)
So I decided to optimize the place used by variables, by using bitfield (instead of a bool for each boolean variable). But it gives me errors at compilation. Isn't bitfield supported by RobotC?
Another question : how to know the size of memory used by variables (if I am near the 15k !!) and even by code?


Wed May 07, 2008 4:36 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.