I do not have much experience with c++, but I am trying to learn. My current project is a scheduler, something that stores data to a file and reteives it based on the date. I had some trouble getting getline to work properly, but my main problem is that the data is stored to the file with spaces. Great, I want my program to store spaces. But when I go to retreive data, it only retieves to the first space. For example, january 5 stores "go to dentist". When I retreive, january 5 has "go", 6 has "to", and 7 has "dentist". How do I get it to retreive the whole line regardless of spaces?