title: Eclipse CDT using MinGW does not output in console
body: <p>I have a Windows 7 64-bit PC and I am trying to install a free C++ IDE, so I chose to install Eclipse Helios with CDT.</p>
  
  <p>For g++, make and gdb I installed msys and mingw according to this tutorial:
  <a href="http://wiki.wxwidgets.org/HowTo:_Install_MSYS_and_MinGW_for_use_with_Eclipse_CDT" rel="noreferrer">http://wiki.wxwidgets.org/HowTo:_Install_MSYS_and_MinGW_for_use_with_Eclipse_CDT</a></p>
  
  <p>The versions are:</p>
  
  <ul>
  <li>make: GNU make 3.81</li>
  <li>g++: 4.5.0</li>
  <li>gdb: 7.1</li>
  </ul>
  
  <p>So it should be compatible with my 64-bit CPU.</p>
  
  <p>However when I try to run a very simple program with eclipse, I see nothing on the console. The source code is:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
   using namespace std;
  
   int main()
   {
      int i;
  
      cout &lt;&lt; "Enter an integer: " &lt;&lt; endl;
      cin &gt;&gt; i;
      cout &lt;&lt; endl &lt;&lt; "i is " &lt;&lt; i &lt;&lt; endl;
  
      return 0;
   }
  </code></pre>
  
  <p>The build is fine and when I launch the .exe with command (windows console) the behavior is as expected.
  But with the Eclipse console I see nothing with run and with debug the output is just:
  "Enter an integer: ", then when I type in a number and hit enter it does nothing.</p>
  
  <p>Does anyone know how to fix this please?</p>
  
  <p>Thanks,</p>
  
  <p>Guillaume</p>
  
  <p>PS: I use the toolchain "Linux GCC", with "MinGW GCC" I have nothing at all in the console.</p>