Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // cout << "<< Date example >>" << endl;
- Date d;
- // d.printDate();
- // cout << endl;
- // cout << "<< Artist example >>" << endl;
- Artist* a = new Artist("Vasya", "Pupkin");
- // a->printInfo();
- // cout << endl;
- // cout << "<< Scene example >>" << endl;
- Scene sc1(stishok, a, "Yeah1", 1);
- sc1.printInfo();
- // cout << endl;
- a->setName("Vasiok");
- // sc1.printInfo();
- // cout << endl;
- Scene sc2(proza, a, "Yeah2", 2);
- Scene sc3(stishok, a, "Yeah3", 3);
- Scene sc4(sc3);
- sc1.printInfo();
- Scene scs[3] = {sc1,sc2,sc3};
- cout << endl;
- cout << "<< Concert example >>" << endl;
- Concert* c = new Concert("Slava", d, scs, 3);
- c->printInfo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement