| | Standard text files, or streams, contain a sequence of characters including carriage returns and linefeeds. In text mode, there is no requirement that individual characters remain unaltered as they are written to or read from a file. This can cause problems for certain types of applications. For example, the ASCII value for the newline character is a decimal 10. However, it could also be written as an 8-bit, hexadecimal 0A. In both C and C++ programs, it is considered to be the single character constant ‘\n’. | | |