Easy C++ for newbie function of the '<<' : <pre><code>#import &lt;iostream&gt;

using namespace std;

int main()
{
cout &lt;&lt; 123 &lt;&lt;'\n';
cout &lt;&lt;"$100 recived \n";
cout &lt;&lt;"see you tomorrow \n";

return 0;
}
</code></pre>

<p>in this C++ program line, i dunno the function of the '&lt;&lt;' here; (i'm a newbie)</p>

<p>for example, an error occurs when i remove the '&lt;&lt;'in the first line</p>

<pre><code>#import &lt;iostream&gt;

using namespace std;

int main()
{
**cout &lt;&lt; 123 '\n';**
cout &lt;&lt;"$100 recived \n";
cout &lt;&lt;"see you tomorrow \n";

return 0;
}
</code></pre>

<p>i dunno why I need the '&lt;&lt;' please help me :(</p>
