using a text file with c++
<p>I have a text file containing 200 numbers. I want to calculate the average value of those numbers (because it takes way too long to do it by hand). I have no idea how to accomplish this, because I have never done such a thing. Thanks in advance.</p>

<p>Edit: I tried searching google but couldnt find something usefull.</p>
