Why some people use pointers and not integer indexs to work with strings, and visa versa.
Is one way better than the other?
Thanks.
Why some people use pointers and not integer indexs to work with strings, and visa versa.
Is one way better than the other?
Thanks.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
In the past the pointer way tended to be faster, but now the difference in speed between the two is negligable. Just use whatever you think is easiest to follow and most natural for what you're doing.
Thanks
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.