C++
华仔33
在公司从事软件测试工作喜欢开源,喜欢软件
展开
-
C++ 内存泄露
简单点说就是只申请不释放,在c++中我们通过原创 2014-07-10 15:45:57 · 614 阅读 · 0 评论 -
结构体定义 typedef struct 用法详解和用法小结
结构体定义 typedef struct 用法详解和用法小结 typedef是类型定义的意思。typedef struct 是为了使用这个结构体方便。具体区别在于:若struct node {}这样来定义结构体的话。在申请node 的变量时,需要这样写,struct node n;若用typedef,可以这样写,typedef stru转载 2014-07-08 16:31:43 · 1132 阅读 · 0 评论 -
C++ namespace 命名空间
Consider a situation, when we have two persons with the same name, Zara, in the same class. Whenever we need to differentiate them definitely we would have to use some additional information along wit转载 2014-06-26 15:19:48 · 640 阅读 · 0 评论
分享