title: 0x0A after 0x0D when reading file
body: <p>I read a file and find that there are <code>0x0D</code> after any <code>0x0A</code>. 
  I only know that it is the windows that do the convertion.</p>
  
  <p>But I have used the binary mode, it cannot prevent it?</p>
  
  <p><code>ifstream input(inputname, ios::binary);input.get(ch);</code></p>
  
  <p>How do I avoid it. I only want to get the <code>\n</code>.</p>
  
  <p>How about write file?</p>
  
  <p>Thx in advance.</p>