The problem is that cin >> y is only storing the first word of the line the user types, the asker wants to know how to store the entire line in y, such that file