answersLogoWhite

0

It is possible, however there are many caveats. For instance, Java utilises built-in garbage collection whereas C++ does not, so the resulting C++ will leak resources massively. The converted code should really be viewed as being a starting point -- you will have to manually edit the code in order to address all the problems created by the conversion. For a non-trivial application, manually editing the code would be highly prone to error.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

How do you build c plus plus compiler to java?

Not possible.


Which is easier 'C plus plus' or 'Java'?

Java is considerably easier than C++.


Which is more popular c plus plus or java?

Java


What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


What is feature that supported in c c plus plus and java but not in net?

C, C++ and Java are cross-platform languages. NET is for Windows-only.


Which one has more jobs java or c plus plus?

C++.


Difference between java and C plus plus?

java is an advanced object oriented programming language than c++


Should you learn c plus plus before you start learning java?

No!!!! You do not need to learn c++ for learning java!


Is it necessary to know c and c plus plus to learn java?

Of course not.


Advantages of C over C plus plus and java?

C can be faster than C++ programs, and definitely faster than Java, since Java is primarily interpreted. C is also somewhat less rigid in definitions as well, not as tightly structured as either C++ or Java can be.


Difference between procedure and function in C or C plus plus or Java language?

In C there are functions only, In Java methodsonly (static methods as well), in C++ both.


Why is java's portability better than c plus plus?

As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus