mirror of
https://github.com/RustyRaptor/CS271.git
synced 2026-12-03 15:45:18 -07:00
35 lines
605 B
C++
35 lines
605 B
C++
// CS271 - Lab Assignment: #8
|
|
// Program name: C++ Classes
|
|
// Purpose of program: Some classes in C++
|
|
// written by: Ziad Arafat
|
|
// Date Written: 2020-04-12
|
|
|
|
#ifndef DATE_H
|
|
#define DATE_H
|
|
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
class Date {
|
|
private:
|
|
unsigned int month;
|
|
unsigned int day;
|
|
unsigned int year;
|
|
|
|
public:
|
|
Date( );
|
|
Date( int m, int d, int y );
|
|
void setMonth( int m );
|
|
void setDay( int d );
|
|
void setYear( int y );
|
|
int getMonth( );
|
|
int getDay( );
|
|
int getYear( );
|
|
void print( );
|
|
};
|
|
|
|
#endif
|