#include <iostream>
#include <fstream>
#include <strstream>
using namespace std;
int main()
{
istrstream s("1.01 47 47 47");
int i;
float f;
s>>i>>f;
char buf2[100];
s>>buf2;
cout<<i<<end;
cout<<j<<endl;
cout<<buf2<<endl;
cout<<s.rdbuf();
return 0;
}
/*
1
0.01
47
47 47
*/
#include <fstream>
#include <strstream>
using namespace std;
int main()
{
istrstream s("1.01 47 47 47");
int i;
float f;
s>>i>>f;
char buf2[100];
s>>buf2;
cout<<i<<end;
cout<<j<<endl;
cout<<buf2<<endl;
cout<<s.rdbuf();
return 0;
}
/*
1
0.01
47
47 47
*/