Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
i've noticed something seemed strange to me...
if anyone just open the Notepad and type just ONE "Enter" , and if you save the .txt file and check its size, you will notice that its size is TWO bytes... but why???
i know that, in c++,u can store the new line '
' in a single byte character... but when i checked the ASCII character set, i've noticed that there isn't a single character representing the new line...
there are the LF and CR characters, but what does this characters exactly means? and what happens really in notepad??
0 · ·