class Class
{
private:
int * var;
public:
Class(int num);
~Class();
};
Class::Class(int num)
{
________________;
}
Class::~Class()
{
________________;
}
第1空:VAR =NEW INT(NUM)
第2空:DELETE VAR
class Class
{
private:
int * var;
public:
Class(int num);
~Class();
};
Class::Class(int num)
{
________________;
}
Class::~Class()
{
________________;
}
class Class
{
private:
int * var;
public:
Class(int num);
~Class();
};
Class::Class(int num)
{
________________;
}
Class::~Class()
{
________________;
}
第1空:VAR =NEW INT(NUM)
第2空:DELETE VAR