CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

CCS pointers

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
RyanJ



Joined: 19 Jul 2007
Posts: 6
Location: New -Brunswick

View user's profile Send private message Send e-mail MSN Messenger

CCS pointers
PostPosted: Thu Aug 09, 2007 6:26 am     Reply with quote

Does anyone know if pointers used for arrays are the same for the CCS compiler as it is for a regular compiler, I am using CCS version 4.044...
Just wondering if anyone found bugs in regards to using pointers with CCS or if there is special consideration to take into account for proper function of pointers with CCS,
thanks

Ryan
Ttelmah
Guest







PostPosted: Thu Aug 09, 2007 9:30 am     Reply with quote

Yes, they are standard.
On the older compilers (V3.xxx), they behaved slightly differently, in always assuming the data type referenced was an integer, and incrementing by '1'. Now, they behave in the normal C manner, and increment by the size of the object referenced.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group