So I know that /n is a newline, and /r is a carriage return. But what exactly are they used for, and who uses them?
If you have a newline what is the point of a Carriage Return?
And where and when should you use both /r/n, and when can you use just /n ?
Do all OSs use them in text files and the like? or is it much more specific than that?
--edit--
oh and if anyone has just a reference about them, plz point me that way, because I can't find much about them in my C++ reference book ("The Complete Reference C++, Third Edition" by Herb Shildt)