Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks for inequality between two points.
BOOL operator!=(
POINT point
) const throw( );
Parameters
- point
Contains a POINT structure or CPoint object.
Return Value
Nonzero if the points are not equal; otherwise 0.
Example
CPoint ptFirst(256, 128);
CPoint ptTest(111, 333);
ASSERT(ptFirst != ptTest);
// works with POINTs, too
POINT pt;
pt.x = 333;
pt.y = 111;
ASSERT(ptTest != pt);
// note that pt != ptTest isn't correct!
Requirements
Header: atltypes.h