Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7054361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:37:02+00:00 2026-05-28T03:37:02+00:00

In case I want to translate a program’s code in a different programming language,

  • 0

In case I want to translate a program’s code in a different programming language, I have these options: to use special software or to do it on my own (please tell me if there are other ways).

Personally I’m a beginner in C++, C# and Java. I’m not familiar with other languages. I’d like to try to do a translation of one of my C++ programs to C# and/or Java. But before doing that I’d like to learn about a technique or two about translating. I’d like to learn it from someone who is familiar with such thing.

So, can you tell me techniques for translating code from one programming language to another? And if there is something that I should know before I start translating, please tell me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:37:02+00:00Added an answer on May 28, 2026 at 3:37 am
    1. Learn both languages. Understand each language’s idioms and philosophy. Acquaint yourself with common coding styles and design patterns.

    2. Read your source program, and understand what it is doing.

    3. Think about how you would express the same overall goals in the target language, using the knowledge and experience gained from (1).

    4. Rewrite the program in the target language.

    (Counter-example: Your source is Java, and you see String a = new String;. You open C++ and say, std::string * a = new std::string;. Wrong, go back to (1).)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The use case I want to achive is. 1. Fetch XML from a remote
I have a case where i want to submit a form and get the
I have the following case where I want to accept the following routs '/type/view/23'
I have a quite specific client-server design case and I want to ask for
I want to use a case statement in my user-defined functions because I need
I have a case where I need to translate (lookup) several values from the
I have multi-language website in Drupal, but not all content is translated. I want
I want to have a group in Plone that can only translate for 1
What logging library or approach would you recommend for this case: We want to
In the case when I want to check, if a certain entry in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.