title: C++ - return 0 vs. return -1
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/204476/what-should-main-return-in-c-c">What should main() return in C/C++?</a>  </p>
  </blockquote>
  
  
  
  <p>In C++, <code>return 0</code> tells that the program has ended successfuly.</p>
  
  <p>What about <code>return -1</code>? Does it break (halt) the program?</p>