×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    54

    what the '&' Mean in this case??

    void CSmallServServer::AddListener(CSocketListener& aListener)
    {
    iListeners.InsertInAddressOrder(&aListener);
    IncrementSessions();
    }


    Hello ,

    there is two & in this code part,

    I know the first & mean the aListener is a reference

    then, what the second & means?----'iListeners.InsertInAddressOrder(&aListener);'

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: what the '&' Mean in this case??

    InsertInAddressOrder requires an argument of pointer type.
    Nokia Developer Wiki Moderation team

  3. #3
    Nokia Developer Champion
    Join Date
    Jul 2004
    Posts
    2,015

    Re: what the '&' Mean in this case??

    It is the address operand - you must learn C and C++ before you go any further with Symbian, you'll get very stuck otherwise

Similar Threads

  1. Clarifications/Information required about Technical Support case
    By mevasudeva in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 4
    Last Post: 2008-01-10, 13:39
  2. How to read response of AT commands?
    By amolvcpp in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2006-09-25, 05:58
  3. Help Needed In S60 Pop3 IMap4 Nokia example again
    By mubx2000 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-06-26, 13:20
  4. Replies: 0
    Last Post: 2005-04-07, 08:22
  5. Replies: 0
    Last Post: 2004-03-05, 03:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×