title: to_string not declared in scope
body: <p>I am trying to make the <code>to_string(NUMBER)</code> function work in my Ubuntu computer for weeks but it never ever works in the QT environment or anywhere else. My code works perfectly on my Mac osx, but when I try running it in Ubuntu it complains that <code>to_string</code> is not declared in scope. Any solutions to this would be greatly appreciated. I have tried to update the gcc compiler but it didn't fix the problem. Please help. </p>
  
  <p>I am using QT Creator 4.8.1 and I am using C++ and latest version of Ubuntu. </p>
  
  <pre><code>int Bint::operator*(int temp){
      Bint b(to_string(temp));
      return ((*this)*b);
  }
  </code></pre>
  
  <p>I was missing the QMAKE_CXXFLAGS += -std=c++0x in the pro file. </p>