存档

文章标签 ‘memory leak’

delete与delete[]

2010年9月10日 1 条评论

delete and delete with brackets
Let's look at a block of code as follows at first.
#include <iostream>
using namespace std;

class Test
{
public:
~Test()
{
puts("Test::~Test");
[......]

继续阅读

分类: C++编程 标签: ,