#include #include #include "elem.h" tab::tab() { cout << "Konstruktor musi byc z parametrem\n dostepne parametry \n\ttab(int)\n\ttab(*char)" << endl; this->~tab(); } tab::~tab() { if (wsk_char) { delete [] wsk_char ; } cout << "Nastapila destrukcja obiektu tab" << endl; } tab::tab(int x,y) { wsk_char = new char[x*y]; } tab::tab(int x,y) { wsk_char = new char[x*y]; }