Can a C++ function return more than one value?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2571831/can-a-function-return-more-than-one-value">can a function return more than one value?</a>  </p>
</blockquote>



<p>I want to return 3 variables from a c++ function but as one function can have only one running return value how I can return 3 values. tried using return(5,4); but this is an syntax error.</p>
