Monster123
IS-IT--Management
I came across this error when I do my assignment...
it's a cout with a string... don't know why it happens to all cout/cin line....
c:\new folder\peg.cpp(58) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or there is no acceptable conversion)
Error executing cl.exe.
pls give me a hand
it's a cout with a string... don't know why it happens to all cout/cin line....
c:\new folder\peg.cpp(58) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or there is no acceptable conversion)
Error executing cl.exe.
pls give me a hand