I would like to be able to read in strings into two variables and also an into into a third I'd like to do this from a text file. This is what I have so far.
using namespace std;
string name = " ";
string stadium = "";
int wins = 0;
I use the cout statements to see if anything was actually read into the variables.
Here is the sample text file .
When i run this, the variables keep there default values and nothing is read into them. Any suggestions?