How to put something on the screen? : <p>I use <strong>Ubuntu Studio 15.10</strong> and I want to learn to program in <strong>C++</strong>.</p>

<p>I'm absolutely new into the <strong>C++</strong> programming world.</p>

<p>I wrote my first "code", with <strong>gedit</strong>.</p>

<p>In simple words, I want to put on the screen some text (like the old Basic: PRINT "Hello!").</p>

<p>So, I wrote:</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;
#include &lt;cmath&gt;
#include &lt;cstdlib&gt;
const double PI = atan(1) * 4;

int main()
{
    cout &lt;&lt; "Hello" &lt;&lt; std::endl;
    cout &lt;&lt; "This is my first code with C++." &lt;&lt; std::endl;
    cout &lt;&lt; "Let's see what happen." &lt;&lt; std::endl;
    cout &lt;&lt; "2 * 3 = "; cout &lt;&lt; 2 * 3 &lt;&lt; std::endl;
    cout &lt;&lt; "Constante pi = ";  cout &lt;&lt; PI &lt;&lt; std::endl;
    cout &lt;&lt; "Seno de 45º = ";   cout &lt;&lt; sin((45*PI)/180) &lt;&lt; std::endl;
    cout &lt;&lt; "Coseno de 30º = "; cout &lt;&lt; cos((30*PI)/180) &lt;&lt; std::endl;
    cout &lt;&lt; "Tangente de 45º = ";   cout &lt;&lt; tan((45*PI)/180) &lt;&lt; std::endl;
return 0;
}
</code></pre>

<p>Then, I used <strong>Codelite</strong> to compile it and... I get a lot of files and folders.</p>

<p>The supposed executable file is called <strong>main.cc</strong>.</p>

<p>BUT... When I ask the system to run that file... Nothing happen!!!</p>

<p>I mean, there is not any text into any screen pane, any new window... Nothing, just Nothing!!!</p>

<p>What's wrong, here?</p>

<p>How can I get to see what I want to see into the screen?</p>
