網路城邦
上一篇 回創作列表 下一篇  字體:
MSVC Visual Studio 10.0 常見錯誤
2025/01/19 12:38:23瀏覽30|回應0|推薦1
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

( 知識學習考試升學 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=aabbcc1&aid=181688345