Skip to content

Instantly share code, notes, and snippets.

@madelinecr
Created April 30, 2011 07:27
Show Gist options
  • Save madelinecr/949516 to your computer and use it in GitHub Desktop.
Save madelinecr/949516 to your computer and use it in GitHub Desktop.
#include <sstream>
#include <string>
stringstream ss;
string tobeconverted;
int converted;
ss << tobeconverted;
ss >> converted;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment