Website Summary Files Commits Branches @commit @diff @stats
path: root / Week02 / Exercise01 / date.h
diff options
context:
space:
mode:
1 files changed, 13 insertions, 0 deletions
-rw-r--r--Week02/Exercise01/date.h13
diff --git a/Week02/Exercise01/date.h b/Week02/Exercise01/date.h
new file mode 100644
index 0000000..4d2ff1a
--- /dev/null
+++ b/Week02/Exercise01/date.h
@@ -0,0 +1,13 @@
+#ifndef _DATE
+#define _DATE
+
+struct Date {
+ unsigned day;
+ unsigned month;
+ unsigned year;
+};
+
+void printDate(const Date& d);
+Date readDate();
+
+#endif