Ok, so this is what I did:
1) include <fstream>
2) create std::ifstream called "file"
3) call file.open(filename, ios::in | ios::binary | ios::nocreate)
So it says that ios is an invalid namespace or something.
4) change ios::whatever to std::ios::whatever
It gets rid of all the errors except for a new one that says that std::ios::nocreate doesn't exist.
5) include <fstream.h> and change std::ios::whatever to ios::whatever
It gets rid of all the errors.
Later, I tried to call file.seekg(position, ios::end). It gives me an error and says that ios::end doesn't exist. I tack on std::, and it works.
So my question is, is there any problem with mixing <fstream>'s stuff with <fstream.h>'s stuff?