#include "student.h" #include #include using namespace std; void Student::Initialize(string n) { name = n; GPA = 0.0; cout << name << " is alive" << endl; } Student::Student(int max_speed, string mm, string n) { vehicle = new Car(max_speed, mm); Initialize(n); } Student::Student(string n) { vehicle = new Car; Initialize(n); } Student::~Student() { delete vehicle; cout << name << " is going away" << endl; }