title: C++ compiled program not running
body: <p>I used dev-cpp to compile a simple HelloWorld program it compiles and links but doesn't run. A process appears in my TaskManager which uses 100Kb of memory and can't be killed (not even with "End Task") but the Windows doesn't tell me why. </p>
  
  <p>Also I tried to run a HelloWorld program compiled by a friend of mine on VS C++ but same problem. The HelloWorld program works great on his computer. The problem is not related with console apps because I tried to run a Windows GUI program compiled on my friend's computer using VS C++ that also works great on his computer but the same problem on my.</p>
  
  <p>What could cause the problem?</p>
  
  <p>The source code of my HelloWorld program:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "Hello World!" &lt;&lt; endl;
      system("pause");
      return 0;
  }
  </code></pre>