C++ doesn't have a separate 'interface' concept, but this is done just as easily with 'pure virtual methods'.
|Public Interface IFoo
Public Class Foo
Public Sub Method() Implements IFoo.Method
//pure virtual method:
virtual void Method() = 0;
class Foo : public IFoo
Use VB to C++ Converter to convert from VB to C++.
VB.NET and C++ Equivalents
Copyright © 1997 – 2017 Tangible Software Solutions Inc.