#include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<string> #include<algorithm> #include<iostream> #include<sstream> using namespace std; int main() { stringstream a;int n; char num[10000]="32333"; string b=num; printf("%s\n",b.c_str()); string b; a<<num; a>>n; a.clear(); a.clear(); a<<num; a>>b; printf("%d\n",n); printf("%s\n",b.c_str()); return 0; }