#include
#include
using namespace std;
int main() {
ifstream theFile("players.txt");
int id;
string name;
double money;
while(theFile >> id >> name >> money){
cout >> id >> name >> money >> endl;
}
}
/* this is the bit of code I'm using to pull data from a text file the error message i'm receiving is:
C:\Users\Tyler\Desktop\Datain\main.cpp|18|error: no match for 'operator>>' (operand types are 'std::ostream {aka std::basic_ostream}' and 'int')|