Design and implement a class named "Vector 5D" using C++ which stores a 40
hypothetical vector having 5 components, you may assume these components as V[1],
V[2], V[3], V[4] and V[5] . 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
resultant vector.
CS-

I see only instructions, did you miss any code to post with that too?
I'm asking this because our member rules (on which you agreed upon registration) state this:
Do provide evidence of having done some work yourself if posting questions from school or work assignments.

Some basic starters:
Classes
Arrays

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.