Lawlzes

date.h

Oct 29th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // Date.h is the Date class specification file
  2. #ifndef DATE_H
  3. #define DATE_H
  4. #include <iostream>
  5. #include <string.h>
  6.  
  7. using namespace std;
  8.  
  9.  
  10. string Months[] = { "January", "February ", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
  11.  
  12. // Class Date Declaration
  13.  
  14. class Date
  15. {
  16.  
  17. private:
  18. int month;
  19. int day;
  20. int year;
  21. public:
  22. int m;
  23. int d;
  24. int y;
  25. void printDate1();
  26. void printDate2();
  27. void printDate3();
  28.  
  29. };
  30. #endif
Advertisement
Add Comment
Please, Sign In to add comment