What is a better way of reading a file in c++?
<p>I want to read a file in c++. I want to know which is a better way of reading (speed and elegance).</p>

<p>I am a bit confused with reading a file character by character or reading string by string. </p>

<p>I just want to have my own xml/html parser. And I want to parse even an unformatted xml/html file. So which method would be more suited for my purpose? </p>
