Код: Выделить всё
#ifndef TEST_H_
#define TEST_H_
#include
class ABC
{
private:
char mode;
public:
ABC(char m);
ABC(const ABC & a);
ABC(){mode='0';};
virtual ~ABC(){};
virtual void View();
ABC & operator=(const ABC &);
friend std::ostream & operator
Подробнее здесь: [url]https://stackoverflow.com/questions/78700145/questions-about-object-pointers-and-memory-management[/url]