title: Can t see the output of my c++ program (debian)
body: <p>This might be a dumb question but...</p>
  
  <p>I am programming some stuff in C++, it compile well on g++, but when I start the binary, there is nothing printed, even if I redirect the output in a file.</p>
  
  <p>Example:
  print.cpp</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  /*...*/
  
  int main ()
  {
      //Table tab;
      //tab.set_all('_');
      //tab.setc(1, 1, 'c');
      //tab.setc(10, 5, 'd');
      cout &lt;&lt; "print" &lt;&lt; endl;
      //tab.print();
      cout &lt;&lt; "end" &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>In shell:</p>
  
  <pre><code>&gt;g++ print.cpp -o print
  &gt;print
  &gt;print &gt; t
  &gt;cat t
  &gt;
  </code></pre>
  
  <p>Is it a problem in my code, or do I start my program in the wrong way?</p>