binary 'operator' : no operator defined which takes a right-hand operand of type 'type' (or there is no acceptable conversion)
To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined. If you encounter this error while porting code from Visual C++ 2.0 or earlier, see Technote: Improved Conformance to ANSI C++.
Example
class C { public: C(); // no constructor with an int argument } c; class D { public: D( int ); D(); } d; void main() { c = 10; // error d = 10; // OK }