Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. Student::Student(const char* name, int fn) {
  2.     this->name = new char[strlen(name) + 1];
  3.     strcpy(this->name, name);
  4.     this->fn = fn;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement