title: Windows C++ | When writing to file, what is responsible for converting \n to \r\n?
body: <p>When writing to file, strings with <code>\n</code> get automatically converted to <code>\r\n</code>.</p>
  
  <p>What is responsible for this behaviour? Is this a part of the cpp function, or something closer to the system?</p>