CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: CArray

  1. #1
    Join Date
    May 1999
    Posts
    10

    CArray

    Hai gurus

    Can i derive a class from CArray?
    I tried but some problems are coming while compiling. i think it is because of CArray is a template class, right?

    if that is the problem how can i derive a child class from CArray?




    Thankx And Regards....

    Rajan

  2. #2
    Join Date
    Apr 1999
    Posts
    306

    Re: CArray

    When you cannot derive from it you can contain CArray as a member of your new class.


  3. #3
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: CArray



    class CArrayInteger : class CArray<int, &int>
    {
    public:
    CArrayInteger();
    ~CArrayInteger();
    };




    Doesn't this work?

    Sally




Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured