Thread: Overloading

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    Quote Originally Posted by curlious
    My prof is all against friend functions.
    Probably he says also that void main is ok....
    As far as I know, friend functions are defined by who creates the class, therefore the encapsulation argument, for me, is non-sense.

    GaPe, those strange numbers are obviously memory adresses. You need some where to de-reference a pointer.
    Last edited by xErath; 11-15-2004 at 09:31 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Overloading operators
    By ugmusicbiz in forum C++ Programming
    Replies: 2
    Last Post: 02-13-2009, 01:41 PM
  2. unary operator overloading and classes
    By coletek in forum C++ Programming
    Replies: 9
    Last Post: 01-10-2009, 02:14 AM
  3. overloading operator problems
    By almich in forum C++ Programming
    Replies: 2
    Last Post: 07-26-2004, 04:10 PM
  4. operator overloading
    By blue_gene in forum C++ Programming
    Replies: 6
    Last Post: 04-29-2004, 04:06 PM
  5. overloading
    By theLukerBoy in forum C++ Programming
    Replies: 6
    Last Post: 11-04-2002, 08:49 PM