Why won't for(true;true;std::cin>>str) work?
<p>I know I can input text from the console using <code>while (std::cin &gt;&gt; str)</code>.</p>

<p>When I try the following as an equivalent for loop, I get an unhelpful error in Visual C++ 2010. Why is this technically incorrect?</p>

<pre><code>    for (true; true; std::cin&gt;&gt;str) 
    {
         // Get input forever 
    }
</code></pre>
