Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (walters):

hi in c++ is it possible to convert its code to any language (eg assembly)

OpenStudy (walters):

@liliy , @asnaseer

OpenStudy (walters):

@blues

OpenStudy (walters):

@anabella97

OpenStudy (walters):

@chmvijay

OpenStudy (walters):

@timo86m

OpenStudy (anonymous):

i think so

OpenStudy (walters):

how?

OpenStudy (walters):

@mitchelsewbaran

OpenStudy (walters):

@AravindG

OpenStudy (rsmith6559):

That's pretty much what a C++ compiler does.

OpenStudy (konradzuse):

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.

OpenStudy (anonymous):

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.

OpenStudy (konradzuse):

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.

OpenStudy (poopsiedoodle):

I know that there's a C# to VB/java/python converter, but that's the only one I've seen for any languages.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!