Compiling and Run C file in Java Application : I am trying to build a Java application that compiles and runs C++ files. It also stores the output of the exe file in a text file. Can anyone provide a complete walk through on how to do it ? 


I have already tried the solution provided [here](http://stackoverflow.com/questions/14826814/compiling-and-running-c-program-in-java) and the program showed `compilation successful` message. But I couldn't find the .o file or .exe file in the directory.