29 lines
242 B
C
29 lines
242 B
C
|
#pragma once
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Dummy
|
||
|
{
|
||
|
public:
|
||
|
int *num;
|
||
|
|
||
|
Dummy()
|
||
|
{
|
||
|
num = new int{ 0 };
|
||
|
}
|
||
|
|
||
|
Dummy(const Dummy &other);
|
||
|
|
||
|
Dummy &operator=(Dummy rhs);
|
||
|
|
||
|
~Dummy()
|
||
|
{
|
||
|
delete num;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
void dummyTest();
|
||
|
|