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

Thread: abstract class

Threaded View

  1. #9
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: abstract class

    also my point was to implement a pure virtual function in the abstract class:

    Code:
    class Abstract {
    public:
       virtual void pure_virtual() = 0; 
    };
    
     void Abstract::pure_virtual() {
       // do something
     }
    Last edited by toraj58; December 11th, 2008 at 03:39 PM.
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

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