Displaying 0 when using system("") command in c++
<p>I am fairly new to C++ and I am making a basic login system... Although when I cout something like "incorrect password" and change the colour of the text using system("color 4") to red, it displays a zero before it. Has anyone had this problem before and if so, how did you resolve it. Thanks =)</p>

<pre><code>cout &lt;&lt; endl &lt;&lt; system("color 4") &lt;&lt; "Incorrect Password";
</code></pre>