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[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.

Member Avatar for iamthwee

Sir I will get this to you today. Please can you send the requirements again to my email address.


commented: ROFL :) +14
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.