Remove blank line in c++ : <p><strong>How to remover blank lines after reading a text file using c++?</strong></p>

<pre><code>while(arry[i]="/n"){
        i++;
    }
</code></pre>

<p>This is my code.It gives some output.But it is not a expected output.</p>
