Click here to Skip to main content
15,994,794 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi have a good time
how can i compile cpp file to jar file with visual stusio 2010?
thanks a lot
by
Posted

1 solution

In theory you could but for what reason. A cpp file is C++ source code and compiles into machine object code for the platform it is built for. A jar file is built of Java classes which are Java bytecode files. The two types are not compatible.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900