In C++, you can specify a mode for a stream in constructor. But in any of the modes you are still allowed to use both text operations (>> int, >> string, getline) and binary data operations (read, write).
Does it make any sense to open file in binary mode and then read it as text, or open file in text mode and then read it as binary? Can you give me an example, where this could be usefull?