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

VB Equivalent to C++ Pointers

C++ VB
//raw pointer:
Foo *f1 = new Foo();

//'smart' pointer:
std::shared_ptr<Foo> f2 = std::make_shared<Foo>();
Dim f1 As New Foo()

Dim f2 As New Foo()

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

Additional resource: VB.NET and C++ Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.