| ??? 05/22/02 17:33 Read: times |
#23267 - RE: circular buffers by pointers or inde |
Hi Mahmood,
Indexes are better. You can limit, control and monitor them in a way you just can't guarantee with a pointer, which is deliberately abstracted from the real world.In an embedded system, the real world is often a big complex machine that really shouldn't start because some idiot permitted a buffer overflow problem. Or whatever. Steve |



