I want to create the simple console app below in Qt Creator:

#include &lt;iostream&gt;

int main(int argc, char* argv[])
{
   std::cout &lt;&lt; "Hello WOrld";

   return 0;
}


I've seen some possible duplicates on SO, I have ticked the "Run in Terminal" option in Run Settings. A console window does pop up on CTRL+R, but it does not display "Hello World", simply "Press Enter to exit".

The above is by creating an Empty Project. 

I have tried creating a "Qt Console Application" which generates the code below. This does work fine, but I want the simple non Qt version above.

#include &lt;QtCore/QCoreApplication&gt;
#include &lt;iostream&gt;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    std::cout &lt;&lt; "Hello World";

   return a.exec();
}



Question: How should I use "just as .. so .." phrase
Answer: Just as we eat bread, the Chinese eat rice. = In the same way that we habitually eat bread, the Chinese habitually eat rice. The construction suggests a parallel between two things (we both habitually eat something) modified by a secondary difference (what is eaten is bread in our case or rice in the Chinese case).