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!
Re: Java to C++ translator tool
Quote:
Originally Posted by
whyasker
Any ideas would be appreciated!
Why don't you take this opportunity to learn a little C++?
Re: Java to C++ translator tool
Quote:
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?
Quote:
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
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).