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

Search:

Type: Posts; User: monarch_dodra

Search: Search took 0.15 seconds.

  1. Replies
    6
    Views
    2,286

    Re: array of pointers to class

    *& is a reference to a pointer, and is usually used as function argument.
    &* is a pointer to a reference. This does not make sense and doesn't compile


    void ptrfun(int *& ip)
    {
    ip = new...
  2. Replies
    6
    Views
    2,286

    Re: array of pointers to class

    I could be wrong:

    (1) What you are passing is not a pointer to an array, but an array of pointers, so:
    (2) In c++ arrays are always implicitly passed by reference.

    I'd like someone more...
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)