|
FMI Ticket System
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
|
Stores the declaration of class Date. More...
Go to the source code of this file.
Classes | |
| class | Date |
| Stores a day, month and year. More... | |
Functions | |
| std::istream & | operator>> (std::istream &istr, Date &dt) |
| Reads date from stream with >> operator. More... | |
| std::ostream & | operator<< (std::ostream &ostr, const Date &dt) |
| Writes date to stream with << operator. More... | |
Stores the declaration of class Date.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const Date & | dt | ||
| ) |
Writes date to stream with << operator.
Uses the stream's << operator to write the date in the format "day.month.year"
| std::istream & operator>> | ( | std::istream & | istr, |
| Date & | dt | ||
| ) |
Reads date from stream with >> operator.
Uses the stream's >> operator to read and parse the day, month and year.