diff options
Diffstat (limited to 'week12/Exercise1/Publication.h')
| -rw-r--r-- | week12/Exercise1/Publication.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/week12/Exercise1/Publication.h b/week12/Exercise1/Publication.h new file mode 100644 index 0000000..9c9ee73 --- /dev/null +++ b/week12/Exercise1/Publication.h @@ -0,0 +1,11 @@ +#pragma once +#include <iostream> + +class Publication { + char authors[1024]; + char journal[256]; + +public: + friend std::ostream& operator<<(std::ostream& ostr, const Publication& other); + virtual ~Publication() = default; +}; |
