Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string.h>
- using namespace std;
- struct subject
- {
- string s_name;
- };
- class human
- {
- protected:
- string t_name;
- string t_surname;
- string t_patronymic;
- string sex;
- int age;
- };
- class student:public human
- {
- public:
- student(string *,string *,string *,string *, int, int, string, subject);
- //student();
- ~student(void);
- void show_stud()
- {
- cout<<t_name<<endl;
- };
- protected:
- int n_kurs;
- string numb_grup;
- subject stud_subj[];
- };
- void main()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement