aboutsummaryrefslogtreecommitdiff
path: root/week12/Exercise1/ScientificPaper.h
diff options
context:
space:
mode:
Diffstat (limited to 'week12/Exercise1/ScientificPaper.h')
-rw-r--r--week12/Exercise1/ScientificPaper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/week12/Exercise1/ScientificPaper.h b/week12/Exercise1/ScientificPaper.h
new file mode 100644
index 0000000..ab1b800
--- /dev/null
+++ b/week12/Exercise1/ScientificPaper.h
@@ -0,0 +1,12 @@
+#pragma once
+#include "Publication.h"
+#include "TextDocument.h"
+#include <iostream>
+
+class ScientificPaper : Publication, public TextDocument {
+ char discipline[512];
+
+public:
+ friend std::ostream& operator<<(std::ostream& ostr, const ScientificPaper& other);
+ virtual ~ScientificPaper() = default;
+};