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

C++ Equivalent to VB 'Imports'

VB C++
Imports Foo
Imports Foo.Bar 'where 'Bar' is a type

'namespace alias:
Imports foo = SomeNamespace
'type alias:
Imports bar = SomeNamespace.SomeType
using namespace Foo;
*no equivalent*

//namespace alias:
namespace foo = SomeNamespace;
//type alias:
using bar = SomeNamespace.SomeType;

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.