What does returning zero by convention mean?
<p>This is likely a stupid question but I always find myself wondering which is the standard.</p>

<p>In most (not to say all) C++ first examples you may see the main function returning 0 value. This means the operation went ok or not?</p>

<ul>
<li>0 --> OK </li>
<li>1 --> No OK. </li>
<li>Other --> ?</li>
</ul>

<p>Which is the standard way of doing it?</p>

<p>By the way, is it better to return an integer or a boolean in this case?</p>

<p>Thank you guys!</p>
