using cin.getline() with fstream

cin.getline() is working fine, if you would look at your output, notice it has a newline after your file name. This is because cin.getline() is getting the '\n' into the filename.

However, I would still suggest that you use an std::string instead of a char*. This allows you to use std::getline() rather then fstreams getline().
Are you getting enough sleep there, FD?
!? I remember actually replying to a topic with the response... O_o

Wait...the topic seems a bit screwed up...it's solved and not at the same time...and I can't set it solved status or anything...
Topic archived. No new replies allowed.