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

Search:

Type: Posts; User: rageshc

Search: Search took 0.01 seconds.

  1. Re: Initialization of constant pointer reference member variable

    Hi gg,

    That was a highly informative post.
    Thank you very much :)
  2. Re: Initialization of constant pointer reference member variable

    I think you have answered my question. i tried it. it compiled and no error is shown. I think it works. I'll update soon after getting more information about it.
    Thank you very much for your reply.
  3. Re: Initialization of constant pointer reference member variable

    Thanks a lot for your reply.

    Actually i was trying to compile a huge project done in VC6 to VC9.
    So i came in a similar situation.

    It was actually a structure instead of int.

    The code was...
  4. Initialization of constant pointer reference member variable

    I've created an application in VC++ 6.0. Pls see the code below.


    class TestClass{
    public:
    TestClass(); // standard constructor
    const int *& m_a;
    int* m_b;
    };
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured