diff options
Update Vector.h
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Operator_overloading/Vector/Vector.h | 2 |
diff --git a/Operator_overloading/Vector/Vector.h b/Operator_overloading/Vector/Vector.h index b8dbd20..9026d73 100644 --- a/Operator_overloading/Vector/Vector.h +++ b/Operator_overloading/Vector/Vector.h @@ -24,7 +24,7 @@ public: friend std::istream& operator>>(std::istream&, Vector& v); int GetAtIndex(int index) const; - int& operator[](int index);// оператор за индексиране(като в масивите) vector a; a[4] -взима четвъртия кординат на вектора + int& operator[](int index);// оператор за индексиране(като в масивите) vector a; a[4] -взима четвъртия координат на вектора void print(); }; |
