• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

C++ Equivalent to VB Inheritance

VB C++
Public Class DerivedClass
    Inherits BaseClass

    Public Overrides Sub MethodOverrideOne()
    End Sub
    Public Overrides NotOverridable Sub MethodOverrideTwo()
    End Sub
End Class
class DerivedClass : public BaseClass
    void MethodOverrideOne() override
    void MethodOverrideTwo() final override

Use VB to C++ Converter to convert from VB to C++.     

Additional resource: VB.NET and C++ Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.