Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/24/02 13:05
Read: times


 
#23382 - RE: circular buffers by pointers or index ?


"Sorry, what I meant was, why do you prefer pointers to indexing for buffer manipulation?"

To be honest I always worked with pointers before and i quite like them because they are closer to the hardware(address and data) beeing a hardware engineer myself.
When it comes to buffers, pointers and indexing are the same but it looks like its easier to use indexing.
I just used indexing for my serial buffer and realised its easier to manipulate and keep track of the bytes count received.
I started the subject to share opinions about the cons and pros of buffer manipulation with pointers or indexing. And i learned something new from Peter Dannegger and all of you guys.
knowledge gaining and sharing is my goal.
Thanx

List of 25 messages in thread
TopicAuthorDate
circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: Steve            01/01/70 00:00      
RE: Peter            01/01/70 00:00      
Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      

Back to Subject List