Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

There's a translator from VisualBasic to C++?

Mar 29, 2007 12:29AM PDT

Hi, I'm wondering, I know how to use VisualBasic, and not to much C++, so, I was looking if there is a translator from VisualBasic to C++.

Discussion is locked

- Collapse -
I've seen such but it only translated the code, not the app.
Mar 29, 2007 12:53AM PDT

Example.

In VB we say this.

i = 10

In C or C++ that is easy to translate to

int i;
i = 10;

But what some wanted is to translate an application which is an entirely different question than translating VB "code" to C++.

Given GCC has no concept of forms and more you have to write more code to handle the forms, events and such.

Can you upgrade your question if need be?

Bob

- Collapse -
Thanks
Mar 29, 2007 11:28PM PDT

Thanks, but I was looking forward for a software which I can paste a huge program than I made on VisualBasic and the software make all the work to translate it to C++.

P.S. I know, it sound I'm lazy, but, C++ is just to pale for my taste.

- Collapse -
The code is easy to translate.
Mar 29, 2007 11:43PM PDT

I've done that so I can write from experience. What I was mentioning was the non-code areas of VB. Forms, buttons, etc. have no code so there is nothing to translate from. Your code however can make the jump with little effort.

Do you understand this better now?

Bob

- Collapse -
Oh..., sorry.
Mar 30, 2007 8:14AM PDT

Oh, I totally forget about those commands than are proper for VB, thanks, and sorry.