C++/C++ Operator Overloading
Expert: Prince M. Premnath - 1/15/2010
QuestionSir, Can you please help me..
I want to add/subtract two 3 dimensional vectors using C++ + - operator overloading..
V1=(x1,y1,z1) V2=(x2,y2,z2)
i just want to implement Vector class in C++ in the simplest form..
thank you..
Answerhi dear Indika !
Since my time is too limited , i couldn't find time to write a simplest code , but still i found this article is pretty simple as you expected
http://en.allexperts.com/q/C-1040/2008/1/Operator-Overloading.htm#b
get back to me if you have issues in understanding things
.
Thanks and Regards
Prince M. Premnath