Thread
:
Why are these the same?
View Single Post
Apr 5th, 2007, 4:42 PM
#
5
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
It's just as well you haven't.
Quote:
If A[N] and *(A+N) mean the same thing...
Good thing the IF is there; they don't mean the same thing.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei