First of all, the difference between text and binary does not exist, in the sense that you can open any file in binary mode text if you choose. When you open a file in text mode in C or use text stream operations in C ++, then the operations take into account text functions, such as line endings, so you can ask questions like readline ().
, , , , " " ( ).