CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Location
    kathmandu, nepal
    Posts
    1,570

    Abstract base class

    Can we create a pointer of abstract class?

    Is this valid?

    CTypedPtrList<CPtrList, SomeAbstractBaseClass*> m_List;

    SomeAbstractBaseClass is an abstract base class.

    please help

  2. #2
    Join Date
    Oct 2002
    Location
    Tx, US
    Posts
    208
    Yes,
    U can declare a pointer of a abstract class

    Vinod

  3. #3
    Join Date
    May 1999
    Location
    Southern California
    Posts
    12,266
    What happens when you try to create a pointer of abstract class?
    "Signature":
    My web site is Simple Samples.
    C# Corner Editor

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