I've seen code written like so:
ifstream fin; fin.open("largefile.dat", ifstream::binary | ifstream::in); Now this makes me confused, is there any difference at all between the above code and this code below using ios::binary and ios::in as replacement?
ifstream fin; fin.open("largefile.dat", ios::binary | ios::in); 