error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)

后端 未结 4 1670
情深已故
情深已故 2020-12-25 12:14

Please don\'t confuse with the title as it was already asked by someone but for a different context

The below code in Visual C++ Compiler (VS2008) d

4条回答
  •  Happy的楠姐
    2020-12-25 12:44

    Have you included all of the following headers?

    My guess is you forgot .

    On a side note: That should be std::cout and std::endl.

提交回复
热议问题