#include<iostream>
using namespace std;
#include<fstream>
#include<iomanip>
struct student{
char name[20];
char sex;
unsigned long birthday;
float height;
float weight;
};
int main()
{
ifstream fin("student.txt");
if(!fin){
cout<<"打开文件失败!"<<endl;
return 1;
}
student s;
while(fin>>s.name>>s.sex>>s.birthday>>s.height>>s.weight){
cout<<s.name<<" "<<s.sex<<" "<<s.birthday<<" "<<s.height<<" "<<s.weight<<endl;
}
fin.close();
return 0;
}