I got this code from gametutorials.com, I had to modify it for my complier (its tutorial about file reading #2), sometimes windows will read it, but it will give invalid assignemnt errors most of the time.
file_in >> a_word; // Here we read in a "word"
cout << "\n";
cout << a_word;
cout << " ";
This tutorial was brought to by GameTutorials. \n
Testing line 2.