Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addQuestion(Question* other) {
- data[size++] = other->clone();
- }
- MC::clone() {
- return new MC(*this);
- }
- ---------------------------------
- addQuestion(Question* other) {
- other->clone(data[size++]);
- }
- MC:clone(Question*& target) {
- target = new MC(*this);
- }
- clone -> virtualna v question
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement