Solutions/Fanta's Solution

pku 1454, UVa 324. Factorial Frequencies. CE. 채점큐

지환태 2009. 4. 5. 15:04



아침부터 bigint열심히 만들었는데....


Main.cpp
Main.cpp(189) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'bigint' (or there is no acceptable conversion); Main.cpp(11): could be 'bigint bigint::operator =(char *)'; Main.cpp(12): or       'bigint bigint::operator =(int)'; Main.cpp(13): or       'bigint bigint::operator =(bigint)'; while trying to match the argument list '(bigint, bigint)'

Main.cpp(220) : error C2616: 'argument' : cannot implicitly convert a non-lvalue 'bigint' to a 'bigint &' that is not const; while checking that elided copy-constructor 'bigint::bigint(bigint &)' is callable; Main.cpp(20) : see declaration of 'bigint::bigint'; when converting from 'int' to 'bigint'

Main.cpp(220) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'bigint' (or there is no acceptable conversion); Main.cpp(11): could be 'bigint bigint::operator =(char *)'; Main.cpp(12): or       'bigint bigint::operator =(int)'; Main.cpp(13): or       'bigint bigint::operator =(bigint)'; while trying to match the argument list '(bigint, bigint)'

어떻게 고쳐야하는지..


아옥