1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

member function or a friend function

Discussion in 'C' started by sareen, Mar 25, 2008.

  1. sareen

    sareen New Member

    Joined:
    Feb 26, 2008
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Should my class declare a member function or a friend function?
     
  2. lead.smart34

    lead.smart34 New Member

    Joined:
    Feb 14, 2008
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    0
    use member function where even you can and use friends only if needed
     

Share This Page