title: Convert String to Int with Stringstream
body: <p>have a little problem here:</p>
  
  <pre><code>int IntegerTransformer::transformFrom(std::string string){
      stream-&gt;clear();
      std::cout&lt;&lt;string&lt;&lt;std::endl;;
      (*stream)&lt;&lt;string;
      int i;
      (*stream)&gt;&gt;i;
      std::cout&lt;&lt;i&lt;&lt;std::endl;
      return i;
  }
  </code></pre>
  
  <p>I by calling this function with the string "67" (other values dont work too) i get this output:</p>
  
  <pre><code>67
  6767
  </code></pre>