Array indexing has a cleaner syntax
You said it yourself! So why bother and make your life difficult. When you come back later to your code it will be more easy to understand then if you used pointer arithmetic. If you have a good C++ compiler he would translate both options the same way!
Last edited by ddanbe; Nov 9th, 2008 at 8:28 am.
Reputation Points: 2035
Solved Threads: 644
Senior Poster
Online 3,739 posts
since Oct 2008