title: How to get window to stay open after C++ code runs?
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 am trying to see my results, what do I do to my code so I can see if what I did is correct?</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "C++" &lt;&lt; endl;
      cout &lt;&lt; "The sum of 11 + 12 = " &lt;&lt; 30/2 &lt;&lt; endl;
      return 0;
  }
  </code></pre>