diff options
Diffstat (limited to 'cpptour/Vector.h')
-rw-r--r-- | cpptour/Vector.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpptour/Vector.h b/cpptour/Vector.h new file mode 100644 index 0000000..c7bbc68 --- /dev/null +++ b/cpptour/Vector.h @@ -0,0 +1,9 @@ +class Vector { +public: + Vector (int s); + double& operator[] (int i); + int size () noexcept; +private: + double* elem; + int sz; +}; |