最新发布 第285页

Code Bye技术改变世界,梦想驱动人生!

C++语言

C++ 比较大小

C++ 比较大小
如下: vector<int>   _vecTest; _vecTest.push_back(10); _vecTest.push_back(11); int   aaa = -1; bool   _bMaxMin  = (aaa >= _vecTest.size()); 如上, _bMaxMin  值为  true; Why??????……继续阅读 »

9年前 (2016-06-07) 2056浏览 0个赞

C++语言

C++ CORBA编程

C++ CORBA编程
使用VC6.0编辑器运行下面程序输出异常: omniORB: From endpoint: giop:tcp:127.0.0.1:3881. Detected GIOP 1.2 protocol erro r in input message. giopImpl12.cc:289. Connection is closed. Client.main() Ex……继续阅读 »

9年前 (2016-06-07) 2093浏览 0个赞

C++语言

C++11 显示转换

C++11 显示转换
class ConvertTo {}; class COnvertable { public: explicit operator ConvertTo () const { return ConvertTo(); }; }; void Func(ConvertTo ct) { } void test () { COnvertable c; ConvertTo……继续阅读 »

9年前 (2016-06-07) 1199浏览 0个赞