title: Compiling and Running C++ file in Java Application
body: <p>I am trying to build a Java application that compiles and runs <code>C++</code> files. It also stores the output of the <code>.exe</code> file in a text file. Can anyone provide a complete walk through on how to do it? </p>
  
  <p>I have already tried the solution provided <a href="https://stackoverflow.com/questions/14826814/compiling-and-running-c-program-in-java">here</a> and the program showed <code>compilation successful</code> message. But I couldn't find the .o file or <code>.exe</code> file in the directory.</p>