From 11b898e4489f7e6558e3e7cbe8fc3361f23ba11a Mon Sep 17 00:00:00 2001 From: DJ-Charity <41906742+DJ-Charity@users.noreply.github.com> Date: Sat, 19 Jun 2021 11:16:18 -0400 Subject: [PATCH] Create customVectorclass --- customVectorclass | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 customVectorclass diff --git a/customVectorclass b/customVectorclass new file mode 100644 index 0000000..809559a --- /dev/null +++ b/customVectorclass @@ -0,0 +1,29 @@ +#include iostream + +using namespace std + +template +class vector { + + private: + vector myVector; + + public: + + void add(T thing) { + + myVector.push_back(thing); + + } + +}; + +int main() { + + vector newVector; + newVector.add(1); + + + + +}