编译cpp文件到jar [英] Compile cpp file to jar
本文介绍了编译cpp文件到jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
也许这是不可能的,但是如何将cpp文件编译为Java桌面(如移动版)中的jar?
非常感谢
hello
perhaps it''s impossible but how can i compile a cpp file to jar in java desktop like mobile?
thanks a lot
推荐答案
您不能. .cpp文件是C ++语言,.jar文件是Java类的存档;他们之间没有共同点.这是我第二次向您解释(请参见此处 [ ^ ] ),此后没有任何变化.
You can''t. .cpp files are C++ language and .jar files are archives of java classes; there is no commonality between them. This is the second time I have explained this to you (see here[^]) and nothing has changed since then.
这篇关于编译cpp文件到jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文