c++ 报错
吃梨就葡萄
这个作者很懒,什么都没留下…
展开
-
Error 1 error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::
Error 1 error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) e:\tld_study\tcp\tcpsrv\tcpsrv.cpp 24若出现以上错误,请检查#原创 2012-07-22 20:37:55 · 7193 阅读 · 5 评论 -
error C2601: ' ": local function definitions are illegal;fatal error C1075: end of file found before
程序出现以上错误:error C2601: ' ": local function definitions are illegal; fatal error C1075: end of file found before应该是程序内{ }括号匹配出现了问题,多半是在报错位置前面少一个或者多一个。。。原创 2012-08-13 17:37:31 · 1466 阅读 · 0 评论 -
error C2011: 'fd_set' : 'struct' type redefinition 的原因(转)
本文转自:http://hi.baidu.com/pro_lily/item/d3da0dc28a3d48bd0d0a7b54网友这样说"一直都用gcc开发,好久没有用VC,前两天写代码的时候装了一大堆插件,visual Assist X,WndTabs,Spelly,Project Line Counter,SourceStyler C++,用的挺爽的,感觉比VI好用多了,但是一编译转载 2012-07-31 13:49:39 · 2108 阅读 · 0 评论 -
fatal error C1083: Cannot open precompiled header file: 'Debug/324.pch': No such file or directory
fatal error C1083: Cannot open precompiled header file: 'Debug/324.pch': No such file or directory 解决方法:project ->settings ->c/c++ ->category ->precomplied headers ->use precomplied headers ->输原创 2013-08-10 21:50:49 · 1079 阅读 · 2 评论