what happens when you declare the same object/variable more than once (newbie)
<p>what does something like this do?</p>

<pre><code>static int i;

// wrapped in a big loop
void update_text()
{
    std::stringstream ss; // this gets called again and again
    ++i;
    ss &lt;&lt; i;
    text = new_text(ss.str()); // text and new_text are defined elsewhere
    show_text(text); // so is this
}
</code></pre>

<p>does is create a new instance of ss in the stack with a new address and everything?  would it be smarter to use sprintf with a char array?</p>
