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


#include <iostream>
#include <vector>
using namespace std;
//описание переменных используемых в описании класса
struct birthday {
	int day;
	int mounth;
	int year;
};

struct human {
	string surname;
	string name;
	string pattername;
	birthday birthday_human;
};

struct student {
	human the_human;
	int course;
	float stipendium;
};

class class_human {
private://защищенная область класса
	human the_human;//член-данные класса
public://не защищенная область класса (интерфейс)
	class_human() {};//конструктор класса по умолчанию
	class_human(human the_human);//параметризованый конструктор класса 
	~class_human() {};//деструктор класса по умолчанию 
	//методы класса объектов - член-функции класса
	//void the_human_in();//ввод объекта class_student с клавиатуры 
	void the_human_out();//вывод на экран объекта class_student
	//свойства объектов класса 
	/*student get_human();
	string get_name_human();
	//задачики параметров класса 
	void set_human(human the_human);
	void set_name_human(string name);*/
};

class class_student:public class_human {
private://защищенная область класса
	//student stud;//член-данные класса
	int course;
	float stipendium;
public://не защищенная область класса (интерфейс)
	//class_student() {};//консhoруктор класса по умолчанию
	class_student(human the_human, int course, float stipendium) :
		class_human(the_human) {
		this->course = course;
		this->stipendium = stipendium;
	};//параметризованый конструктор класса 
	/*class_student(class_human the_human, int course, float stipendium);//параметризованый конструктор класса 
	~class_student() {};//деструктор класса по умолчанию 
//методы класса объектов - член-функции класса
	//void the_student_in();//ввод объекта class_student с клавиатуры 
	//void the_student_out();//вывод на экран объекта class_student
//свойства объектов класса 
	student get_student();
	string get_name_student();*/
	float get_stipendium_student() { return this -> stipendium; }
//задачики параметров класса 
	/*/void set_student(student the_student);
	//void set_name_student(string name);
	void set_stipendium(float stipendium);
	*/
};