Hi,
This should open an instream from the binary file "afw.raw", if it exists.... but it shouldn't create the file if it doesn't already exist. Lo and behold, everytime I run the program, it has created the file "afw.raw". What am I doing wrong? How can I make sure that the file isn't created?Code:#include <fstream.h> ifstream DATABASE_IN; DATABASE_IN.open("afw.raw", ios::in || ios::binary || ios::nocreate);
Thanks