CPoint::operator! =
不相等性检查在两个点之间。
BOOL operator!=(
POINT point
) const throw( );
参数
- point
包含点结构或 CPoint 对象。
返回值
非零,如果此点不是相等;否则为0。
示例
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!
要求
Header: atltypes.h