Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Student::Student(const Student& other_object) {
- this->name = new char[strlen(other_object.name) + 1];
- strcpy(this->name, other_object.name);
- this->fn = other_object.fn;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement