• 0

Easy way to convert code C# to C++


Question

3 answers to this question

Recommended Posts

  • 0

I would just Google this:  C# to C++ conversion.

 

If you know both languages, it should not be too difficult to translate from one to the other. 

 

There are some projects out there such as this one:

 

https://alexalbala.github.io/Alter-Native/

 

From this webpage, the first paragraph states:

 

"AlterNative is a tool made by Developers for Developers. Its concept is to maximize the idea of happy-coding. It provides a tool to easy port applications from high-level languages such as .NET to native languages like C++. It is a research project and it is under development with the collaboration of UPC - BarcelonaTech and AlterAid S.L."

 

I have never used this before or any similar tools.  Again, Google may be your friend here.

 

Best of luck!

Mike

 

  • 0
On 03/08/2022 at 20:19, Mike McWhinney said:

I would just Google this:  C# to C++ conversion.

 

If you know both languages, it should not be too difficult to translate from one to the other. 

 

There are some projects out there such as this one:

 

https://alexalbala.github.io/Alter-Native/

 

From this webpage, the first paragraph states:

 

"AlterNative is a tool made by Developers for Developers. Its concept is to maximize the idea of happy-coding. It provides a tool to easy port applications from high-level languages such as .NET to native languages like C++. It is a research project and it is under development with the collaboration of UPC - BarcelonaTech and AlterAid S.L."

 

I have never used this before or any similar tools.  Again, Google may be your friend here.

 

Best of luck!

Mike

 

Just a note - you do realise you replied to a 2 old thread right? Surely the OP would have found their answer by that point. :)

 

Now please excuse me, I’ve also bumped an old thread :)

  • 0
On 03/08/2022 at 23:49, Mike McWhinney said:

If you know both languages, it should not be too difficult to translate from one to the other. 

That's right. It is not difficult. It is impossible. C++ compiles the source code to machine code. C# compiles to bytecode and consumes .NET bytecode assembles.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now