Contents ...
udn網路城邦
MSVC Visual Studio 10.0 常見錯誤
2025/01/19 12:38
瀏覽35
迴響0
推薦1
引用0
cpp() : error C2678: binary >> : no operator found which takes a left-hand operand of type std::istream (or there is no acceptable conversion)
        \INCLUDE\istream(1053): could be std::basic_istream<_Elem,_Traits> &std::operator >>>(std::basic_istream<_Elem,_Traits> &&,signed char *)
    

add #include <string> in your cpp source file

有誰推薦more
全站分類:知識學習 考試升學
上一則: UVa 10162 cpp

限會員,要發表迴響,請先登入