• 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 19: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

 

Expand  

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 19:19, Mike McWhinney said:

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

Expand  

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
  • Posts

    • Install a cheap Chinese clone of Adguard and then take support from call center to restore to Windows XP.
    • Does the job, although it can't run windows 11 officially. Currently running Windows 10 modded with ReviOS
    • Now, there is a dilemma - should I install some Russian software ( AdGuard ) to stop US ( Microsoft ) to spy on me ?
    • AdGuard is yet another app to block Windows Recall by Taras Buria Windows Recall is one of the most controversial Windows features. After the misfired launch and the scandal that followed, Microsoft implemented plenty of security measures and improvements. Still, some believe that Recall's reputation is tarnished forever. Besides, not everyone is comfortable with using the feature that takes screenshots of everything you do. As such, privacy-focused apps, browsers, and messengers are now offering blocks for Recall. AdGuard is the latest one to join them. AdGuard for Windows 7.21 introduces a new feature that lets you turn off Windows Recall. Although Recall is a strictly opt-in experience and it has several security measures, AdGuard developers believe that it is not enough. They argue that the feature idea itself is unsettling, PINs are easy to crack, and filters sometimes fail to engage. Here is what AdGuard says in the announcement post: If you use AdGuard on your PC, you can find the new "Disable Windows Recall" feature in Settings > Tracking Protection. As of now, Recall is only available on Copilot+ PCs. This month's non-security update expanded Recall to more users, making the feature available in the European Economic Area. And with Intel working on the next-generation desktop processors with improved NPUs, you can expect Recall and other recently introduced AI features to make their way to more users with desktop PCs. As an online publication, Neowin relies on ads for operating costs, and if you use an ad blocker, we'd appreciate being whitelisted. In addition, we have an ad-free subscription for $28 a year, which is another way to show support!
    • I'm sorry for sounding rude. I was just frustrated. I really want to get this right because I don't want to take any risk of potentially contaminating other hardware and risk losing precious files. Thanks again for the help. 
  • Recent Achievements

    • One Month Later
      Philsl earned a badge
      One Month Later
    • One Year In
      armandointerior640 earned a badge
      One Year In
    • One Month Later
      armandointerior640 earned a badge
      One Month Later
    • One Month Later
      Itbob513626 earned a badge
      One Month Later
    • Week One Done
      Itbob513626 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      615
    2. 2
      ATLien_0
      236
    3. 3
      Xenon
      156
    4. 4
      +FloatingFatMan
      122
    5. 5
      Michael Scrip
      116
  • Tell a friend

    Love Neowin? Tell a friend!