
c/c++
iteye_11596
这个作者很懒,什么都没留下…
展开
-
sigslot for c++
[code="c++"] #include "stdafx.h" //http://sigslot.sourceforge.net/ //#include "..\sigslot\sigslot.h" #include "libjingle\libjingle-0.4.0\talk\base\sigslot.h" //使用从sourceforge下载的sigslot.h编译不过,使用...原创 2010-09-02 21:18:40 · 134 阅读 · 0 评论 -
explicit
[code="c++"] #include class C{ public: explicit C(int i){ printf("\nC"); } }; void f(C c) { printf("\nf"); } int main() { ...原创 2010-09-03 13:30:47 · 83 阅读 · 0 评论 -
gloox1.0 test
http://camaya.net/gloox/ 下载http://camaya.net/download/gloox-1.0.tar.bz2 或者svn co svn://svn.camaya.net/gloox/branches/1.0 gloox-1.0 下载 注:下载的gloox-1.0.tar.bz2在VS2008 Express下编译缺少一个文件,打包问题还是...原创 2010-09-07 20:06:33 · 109 阅读 · 0 评论 -
memory leak
#define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> 下面的语句放在主函数开头,就不用每个出口都写上_CrtDumpMemoryLeaks(); 了 #ifdef _DEBUG _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF| _C...原创 2010-10-22 09:17:30 · 130 阅读 · 0 评论