类内定义 , 类内实现 class Student{public: Student(){ cout <<"Student的构造函数"<<endl; }} 类内定义 ,类外实现 ```cpp class Student{ public: Student(); } Student::Student(){ cout <<”Student的构造函数”<<endl; } ```