hi in c++ is it possible to convert its code to any language (eg assembly)
@liliy , @asnaseer
@blues
@anabella97
@chmvijay
@timo86m
i think so
how?
@mitchelsewbaran
@AravindG
That's pretty much what a C++ compiler does.
Stop tagging.... A compiler will convert it into machine code, yes. You can use Assembly in C++, you can use it in any language I believe. Most langs have converters as well.
C++ code can be translated into assembly (as rsmith mentioned, that's what a compiler does). But I have my doubts if you can translate C++ into any language. I'm thinking of language like LISP or Prolog here. With enough effort, it's probably do-able, but it won't be easy.
Look it up. There are C++ to Java converters, and many others.. Tons of people have siwtched langs only to want them. GWT for example is a Java to Javascript/HTML framework.
I know that there's a C# to VB/java/python converter, but that's the only one I've seen for any languages.
Join our real-time social learning platform and learn together with your friends!