Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / Exam 2 / ex1 / RegistryNumber.h
diff options
context:
space:
mode:
1 files changed, 17 insertions, 0 deletions
-rw-r--r--Year 1/Object-oriented Programming/Exam 2/ex1/RegistryNumber.h17
diff --git a/Year 1/Object-oriented Programming/Exam 2/ex1/RegistryNumber.h b/Year 1/Object-oriented Programming/Exam 2/ex1/RegistryNumber.h
new file mode 100644
index 0000000..5101551
--- /dev/null
+++ b/Year 1/Object-oriented Programming/Exam 2/ex1/RegistryNumber.h
@@ -0,0 +1,17 @@
+#ifndef HEADER_REGNUM
+#define HEADER_REGNUM
+
+#include <ostream>
+
+class RegNumb {
+ int regNumb[4];
+
+public:
+ RegNumb();
+ RegNumb(int regNumber1, int regNumber2, int regNumber3, int regNumber4);
+
+ friend std::ostream& operator<<(std::ostream& ostr, const RegNumb& regNumb);
+};
+
+
+#endif