Professional Documents
Culture Documents
Vector Comparacion
Vector Comparacion
doc 1
PREPARED BY: Ferreiras
Brief Description
Operator
Tests if the vector object on the left side of the operator is not equal
to the vector object on the right side.
operator!=
The return value is true if the vectors are not equal; false if the
vectors are equal.
Tests if the vector object on the left side of the operator is less than
the vector object on the right side.
operator< The return value is true if the vector on the left side of the operator
is less than the vector on the right side of the operator; otherwise
false.
Tests if the vector object on the left side of the operator is less than
or equal to the vector object on the right side.
operator<= The return value is true if the vector on the left side of the operator
is less than or equal to the vector on the right side of the operator;
otherwise false.
Tests if the vector object on the left side of the operator is equal to
the vector object on the right side.
operator== The return value is true if the vector on the left side of the operator
is equal to the vector on the right side of the operator; otherwise
false.
Tests if the vector object on the left side of the operator is greater
than the vector object on the right side.
operator> The return value is true if the vector on the left side of the operator
is greater than the vector on the right side of the operator;
otherwise false.
Tests if the vector object on the left side of the operator is greater
than or equal to the vector object on the right side.
operator>= The return value is true if the vector on the left side of the operator
is greater than or equal to the vector on the right side of the vector;
otherwise false.
VER EJEMPLO: vect9.cpp