Design and implement a class named "Vector 5D" using C++ which stores a
hypothetical vector having 5 components, you may assume these components as V,
V, V, V and V . The class should use array to store these components. The
class should have necessary constructors and member functions. In addition, the class
has an overloaded + operator which adds two vectors component by component. Write
appropriate main ( ) function that adds two such vectors and shows the output of the
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.