title: while(true) / while(1) vs. for(;;)
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1401159/for-or-while-true-which-is-the-correct-c-sharp-infinite-loop">for ( ; ; ) or while ( true ) - Which is the Correct C# Infinite Loop?</a><br>
    <a href="https://stackoverflow.com/questions/13545237/why-choosing-for-over-while1">Why choosing for (;;){} over while(1)?</a>  </p>
  </blockquote>
  
  
  
  <p>What's the difference between <code>while(true)</code>, <code>while(1)</code>, and <code>for(;;)</code>? They all are infinite loops in languages like C# and C/C++. But is one better than the other one? Any ideas?</p>