March 6th, 2010, 01:53 PM
Thanks for the help everyone. :)
March 6th, 2010, 01:23 PM
I HAVE to implement the addition function using a friend function and overload operator+ . How can I do it using these preferences? May you please give a piece of code since I dont know how to...
March 6th, 2010, 01:03 PM
Arithmetic operation on array with different sizes. For e.g. Array a contains {1,2,3,4} and Array b contains {2,3,4,1,5,6} then the result of a+b is {3,5,7,5,5,6}.
March 6th, 2010, 01:01 PM
Apparently I should have had given more info.
I'm designing a class called Array. This class has two private members, size (for size of the array) and *ptr (its declaration is: ptr = new int...
March 6th, 2010, 09:31 AM
Hi everyone,
i would like to write operator overloading functions (like addition, subtraction etc) on a single dimension array in a class. The functions should be of type friend functions. .
...