View previous topic :: View next topic |
Author |
Message |
RyanJ
Joined: 19 Jul 2007 Posts: 6 Location: New -Brunswick
|
CCS pointers |
Posted: Thu Aug 09, 2007 6:26 am |
|
|
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
|
|
Posted: Thu Aug 09, 2007 9:30 am |
|
|
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 |
|
|
|
|
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
|