That's because operator+ for a pointer is valid only with an integral or enumeration type, not another pointer.
That's because operator+ for a pointer is valid only with an integral or enumeration type, not another pointer.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)