title: preventing an exe file from closing
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2529617/how-to-stop-c-console-application-from-exiting-immediately">How to stop C++ console application from exiting immediately?</a>  </p>
  </blockquote>
  
  
  
  <p>I created an exe file in c. When I run it command prompt opens and then closes quickly and I cannot see the output. The program takes no runtime values from users. It reads data from a file. Is there any way to prevent this?</p>