diff --git a/POB_Java/.gitignore b/POB_Java/.gitignore new file mode 100644 index 0000000..5241a72 --- /dev/null +++ b/POB_Java/.gitignore @@ -0,0 +1 @@ +*.class \ No newline at end of file diff --git a/zad2_2 b/zad2_2 old mode 100755 new mode 100644 diff --git a/zad3_1 b/zad3_1 old mode 100755 new mode 100644 diff --git a/zad5_1 b/zad5_1 old mode 100755 new mode 100644 diff --git a/zad7_2 b/zad7_2 new file mode 100644 index 0000000..74f246b Binary files /dev/null and b/zad7_2 differ diff --git a/zad7_3.cpp b/zad7_3.cpp new file mode 100644 index 0000000..02741e2 --- /dev/null +++ b/zad7_3.cpp @@ -0,0 +1,20 @@ +#include + +using namespace std; + +template +class Array { + private: + type* ptrs; + Array(){} + ~Array(){} + public: + Array& operator new [](){ + Array(); + return *this; + } + void operator delete [](){ + ~Array(); + } + +} \ No newline at end of file