diff --git a/ex2.cpp b/ex2.cpp index 9cc8068..df805af 100644 --- a/ex2.cpp +++ b/ex2.cpp @@ -12,6 +12,9 @@ class Vec int LEN; int USED; + void expand(); + + void shrink(); public: @@ -34,10 +37,6 @@ class Vec void swap(int a, int b); - void expand(); - - void shrink(); - int insert(int locate,int value); int del(int locate,int value);