-
April 27th, 2010, 01:14 PM
#1
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!
-
April 27th, 2010, 02:59 PM
#2
Re: Java to C++ translator tool
Originally Posted by whyasker
Any ideas would be appreciated!
Why don't you take this opportunity to learn a little C++?
-
April 27th, 2010, 04:56 PM
#3
Re: Java to C++ translator tool
Originally Posted by whyasker
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.
-
April 27th, 2010, 04:58 PM
#4
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).
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|