fin.open(dataFile.c_str());
ns = 0;
fin >> num; // Read first data value
while (!fin.eof())
{
cout << num << " "; // ?.. This displays all data in a single rows. How to display this in rows of three scores?
++ns;
fin >> num; // Read next data value
}
cout << endl << endl;