KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Windows when you read characters \r\n from the file(or stdin) in text mode, \r gets deleded and you only read \n . Is there a standard according to which it should be so? Could I be sure that it will be true for any compiler on Windows? Will others platform-specifics character combinations will replaced by \n on those platforms too? I use this code to generate the input and use this code to read it. The results are here . You may note few missed \r 's
Tags (comma-separated)
Save Edits
Cancel