User Profile

Collapse

Profile Sidebar

Collapse
Qasimtn
Qasimtn
Last Activity: Dec 20 '06, 01:57 PM
Joined: Nov 22 '06
Location: Pakistan
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Error! While Passing Const Argument in a Member Function

    Error occured while compiling the function which is a operator(<) function
    if remove the key word const in the argument no error occurs.
    Help me i have no idea what i have done wrong with this code.......

    i have mentioned the compiler error after the function implementation
    Code:
    #include<iostream>
    using namespace std;
    
    //
    //Box Class
    //
    class Box
    {
    ...
    See more | Go to post

  • Qasimtn
    started a topic Operator overloading in OOP
    in C

    Operator overloading in OOP

    In Operator Overloading just suppose i am talking about operator(+),
    if i have a class Bluejem and i want to add three object (Cascaded Operation)

    Code:
    class Bluejem
    {
    ........
    //member function
    Bluejem operator+(Bluejem& obj );
    .......
    };
    
    void main()
    {
            blue_return=blue_1+blue_2+blue_3;
    
    .........
    .........
    }
    i am confused...
    See more | Go to post

  • Qasimtn
    replied to Static Member Function in OOP
    in C
    Thanks For reply "M.Sivadhas "
    as a get a new terminology ........(MEMORY MODEL SPECIFIER)
    but OOP is a new course for me i donot know abt this terminology can u explain this further.
    See more | Go to post

    Leave a comment:


  • Qasimtn
    started a topic Static Member Function in OOP
    in C

    Static Member Function in OOP

    Why not we make Class Static Member Function Constant...
    See more | Go to post
No activity results to display
Show More
Working...