Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #pragma once
  2. #include "date.h"
  3. #ifndef PASSPORT_H
  4. #define PASSPORT_H
  5. #include <iostream>
  6. #include <cstring>
  7. using namespace std;
  8. class Passport
  9. {
  10. private:
  11. char PersonName[80];
  12. const Date BirthDay;
  13. char PersonGender[2];
  14. Date LastExit;
  15. Date LastReturn;
  16. public:
  17. Passport();
  18. Passport(const Passport &);
  19. 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);
  20. ~Passport();
  21. void print()const;
  22. };
  23. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement