I want to use ifstream to load a font file into the memory and give it to FreeType. I find the standard I/O facilities a little discouraging. For now my question is why I have to specify std::ios::in for ifstream? The name ifstream already implies input operations, so why do we need this needless confusing things? Can we specify ifstream with out? What will happens if I don't specify it? From an example on cppreference:
std::ifstream f1("test.bin", std::ios::binary);
Here the default argument std::ios::in is not used. Why?