Opening a text file with C++ : <p>I'm trying to figure out how to open a text file in a c++ program, I then have to count the white spaces within in the file, which isn't an issue. I just can't figure out to open the text file in c++ </p>

<p>Thanks! </p>
