It should be easy to solve this. I say easy because it\'s really nothing in c++, but I\'m not sure if there is already too much overhead in this thing that making the modification is more trouble than it seems.
Anyway, make it so that the space character can be used in the name (while (!eof){...} or cin.getline(bla,size)).... Or make it so that whenever you enter a space, the software will instead write an underscore.
For example, \"Bob_Smith.\"