i'm trying to write a program thats similar to a notepad
when i save a string with characters such as "\r" and "\n" somehow it will get ignored, like if i save a string like this "abcde\rfg", when i view it with notepad it will apear as just abcdefg and not 2 lines
can anyone help me out?
thefile.open("OurText.txt", ios::out | ios::binary);
char abc = "adsw21\nadwjdaw";
thefile << abc;