#include using namespace std;

class Zlomok {

private:

int citatel; int menovatel;

public:

void vypis() { cout citatel menovatel=menov; cout citatel; } void setcitatel(int ci) { this -> citatel = ci; } //copy konstruktor Zlomok(Zlomok &zzz) { this -> citatel = zzz.citatel; this -> menovatel = zzz.menovatel; cout vek = os.vek; char *ret = new char[strlen(os.meno)+5]; strcpy(ret,os.meno); strcat(ret,"COPY"); this -> meno =new char[strlen(ret)+1]; strcpy(this -> meno, ret);}

};

void main() {

OSOBA x("Katka",25); x.vypis();

OSOBA *smerx=new OSOBA(x); smerx -> vypis();

delete smerx;

}

#include using namespace std;

class Zlomok {

private:

int citatel; int menovatel; static int pocet;

public:

void vypis() const { cout citatel menovatel=menov; cout