Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //hàm đọc thông tin của 1 người
- void Doc_File_Thong_Tin(ifstream &filein, People &p)
- {
- getline(filein, p.ten, ','); // doc du lieu den dau phay
- getline(filein, p.gioitinh,'\n');
- }
- //hàm đọc thông tin sở thích của 1 người
- void Doc_File_So_Thich(ifstream &filein, Sothich &so)
- {
- getline(filein, so.stt, '-');// đọc dữ liệu đến dấu -
- getline(filein, so.loaisothich, '\n');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement