title: No output to the console?
body: <p>I'm trying to learn C++ OOP and thought would try a simple example using Qt Creator. I clicked New Project > Projects > application > Qt Console Application</p>
  
  <p>I then added a new class, test.cpp. Both test.cpp and main.cpp are in the Sources folder and test.h is in the Headers foler.</p>
  
  <p>Here is test.h</p>
  
  <pre><code>#ifndef TEST_H
  #define TEST_H
  
  
  class test
  {
   public:
      test();
   };
  
  #endif // TEST_H
  </code></pre>
  
  <p>test.cpp</p>
  
  <pre><code>#include "test.h"
  #include "iostream"
  
  using namespace std;
  
  test::test()
  {
     cout&lt;&lt;"Inside test's constructor "&lt;&lt;endl;
  }
  </code></pre>
  
  <p>main.cpp</p>
  
  <pre><code>#include "iostream"
  #include "test.h"
  
  using namespace std;
  
  int main()
  {
  
     test ts;
  
     return 0;
  }
  </code></pre>
  
  <p>When I click the run button, it's built and run. The console window displays but "Inside test's constructor" never gets to be printed to the screen. What am I doing wrong?</p>