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