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
void Method() override
Use VB to C++ Converter to convert from VB to C++.
VB.NET and C++ Equivalents
Copyright © 1997 – 2019 Tangible Software Solutions, Inc.