Help wanted !
What wrong with the following code
file.open(pFileName, ios::in | ios::nocreate);
When compiling, the compiler have an error of "nocreate is not a member in ios" .
I do not know what wrong with the code on ios::nocreate.
When using MS C++ compiling
I can replace the code with
file.open(pFileName, ios::in | 0x40);
It can be compiled with no error. But using dev C++, it cannot.