do this "Read the story from file by getline() command. And write it to another file". I am giving .txt file name to ifstream but it wants full path. I will send my teacher with e-mail. So if I write full path, that will be a problem in her computer. How can I solve this?
Use relative paths: https://stackoverflow.com/questions/8068921/how-to-use-fstream-objects-with-relative-path
Обсуждают сегодня