1.18

#include <iostream>
#include <strstream> 
using namespace std;
int main(){
	char buf[] = "SalomBuxoro 1980 28.01 B";
	istrstream istr(buf);
	char c;
	while(!istr.eof()) { 
		istr.get(c);
		if (!istr.eof()) cout << c;
	}
	cout<<endl;
	system("pause");
return 0;
}
Run on cpp.sh