CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ahmad292

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    12,195

    Re: Operator Overloading on an Array

    Thanks for the help everyone. :)
  2. Replies
    10
    Views
    12,195

    Re: Operator Overloading on an Array

    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...
  3. Replies
    10
    Views
    12,195

    an example

    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}.
  4. Replies
    10
    Views
    12,195

    Re: Operator Overloading on an Array

    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...
  5. Replies
    10
    Views
    12,195

    [RESOLVED] Operator Overloading on an Array

    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. .
    ...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured