+ 1

Error in reading a file?

I want to clone a text file (ie. to make a new file with all the text in the same format as in the original file) using an ifstream read the file one character at a time, but it skipped all the blank spaces and new line. how can i make it read new line character and blank spaces.

29th Dec 2019, 2:49 PM
Chetan Satpute
Chetan Satpute - avatar
1 ответ
0
Please share your code in the question Description so everyone can check it out and assist properly. See this for guide on how to share links 👍 https://www.sololearn.com/post/74857/?ref=app
29th Dec 2019, 7:11 PM
Ipang