How to convert C++ Code to C

There is indeed such a tool, Comeau’s C++ compiler. . It will generate C code which you can’t manually maintain, but that’s no problem. You’ll maintain the C++ code, and just convert to C on the fly.

Does a Java to C++ converter/tool exist?

It’s possible to do anything given enough time, money and resources. Is it practical? Beyond trivial examples not really. Or rather it depends on what constitutes an acceptable error rate. The real problem is that the idioms are different in Java to C++. Java to C# for example would actually be far easier (because the … Read more