Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "date.h"
- #ifndef PASSPORT_H
- #define PASSPORT_H
- #include <iostream>
- #include <cstring>
- using namespace std;
- class Passport
- {
- private:
- char PersonName[80];
- const Date BirthDay;
- char PersonGender[2];
- Date LastExit;
- Date LastReturn;
- public:
- Passport();
- Passport(const Passport &);
- Passport(const char* PersonName, int bday, int bmonth, int byear, const char* PersonGender, int exitday, int exitmonth, int exityear, int lastday, int lastmonth, int lastyear);
- ~Passport();
- void print()const;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement