title: Is it a bad practice to use break in a for loop?
body: <p>Is it a bad practice to use <strong><code>break</code> statement</strong> inside a <strong><code>for</code> loop</strong>?</p>
  
  <p>Say, I am searching for an value in an array. Compare inside a for loop and when value is found, <code>break;</code> to exit the for loop.</p>
  
  <p>Is this a bad practice? I have seen the alternative used: define a variable <code>vFound</code> and set it to true when the value is found and check <code>vFound</code> in the <code>for</code> statement condition. But is it necessary to create a new variable just for this purpose?</p>
  
  <p>I am asking in the context of a normal C or C++ for loop.</p>
  
  <p>P.S: The <a href="http://en.wikipedia.org/wiki/MISRA_C" rel="noreferrer">MISRA coding guidelines</a> advise against using break.</p>