Java to C++ translator tool
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Java to C++ translator tool

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    1

    Unhappy Java to C++ translator tool

    Hi, all!

    I am wondering if there is any tool which is able to convert Java to C++ code?

    It is a simple Java program with 6-7 classes. NONE of them imports any Java libraries and that is why I hope that such tool does exist. I am a complete beginner in C++ and I need the translation for a school project.

    It is not even necessary to translate directly from Java to C++. If there is a tool which first translates from Java to third programming language (like Python or smth else), and then to C++, that would be just perfect.

    Any ideas would be appreciated!

  2. #2
    Join Date
    May 2009
    Posts
    2,413

    Re: Java to C++ translator tool

    Quote Originally Posted by whyasker View Post
    Any ideas would be appreciated!
    Why don't you take this opportunity to learn a little C++?

  3. #3
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Java to C++ translator tool

    Quote Originally Posted by whyasker View Post
    I am a complete beginner in C++ and I need the translation for a school project.
    Doesn't this suggest to you that this exercise is part of your education? What will you learn if someone else does it for you?

    Any ideas would be appreciated!
    Do what Nuzzle suggested.

    Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris...
    Larry Wall
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  4. #4
    Join Date
    Aug 2005
    Posts
    198

    Re: Java to C++ translator tool

    Google on "java to c++ converter".
    (you'll see us - any Java code not dependent on Java libraries shouldn't be a problem).
    David Anton
    Convert between VB, C#, C++, & Java
    www.tangiblesoftwaresolutions.com
    Instant C# - VB to C# Converter
    Instant VB - C# to VB Converter

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center