Switch from Visual BASIC to C++