Well, you want to open it using ifstream, but since your compiler is pre-standard it may not have that method of the class (I seem to remember this from another poster at one point).
What will probably work (and is also used) is to test that the ifstream object is not null:
ifstream ifs("myfile.txt");
if(!ifs)
//file didn't open for whatever reason