#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream thefile("player.txt");
int id;
string name;
double money;
while(thefile >> id >> name >> money)
{
cout << id << "," << name << "," << money << endl;
}
}
网友评论