Загрузка данных


#include <iostream>
using namespace std;
class Student
{
public:
string name;
Student()
{
name = "Unknown";
cout << "Студент создан" << endl;
}
~Student()
{
name = "";
cout << "Данные студента удалены" << endl;
}
};
int main()
{
Student s1;
cout << s1.name << endl;
return 0;
}