January 11th, 2011, 12:00 PM
compile c in java
hi every body
i'm working on a project and i need to compile a c file in java,
my inputs are a c file and a file for its inputs and finaly i'll get an output file from the c program,
its some how like acm judge,
i dont know how talk to the c compiler?!?! and i also dont kow what to search for exactly,
please give me a guide,
January 11th, 2011, 12:19 PM
Re: compile c in java
If the c compiler has a command line interface you can use java.lang.ProcessBuilder.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!