TDT4102-Ovinger/Oving9/Oving 9/Dummy.h

29 lines
242 B
C
Raw Normal View History

2019-03-13 23:01:06 +01:00
#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();