Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C language! What does =EOF mean?
C language! What does =EOF mean?
! = Yes is not equal to, EOF is the end of the file, so it does not mean the end of the file.

EOF is a computer term, which is short for end of file. In the operating system, this means that the data source has no more data to read. Data sources are often referred to as files or streams. This character usually exists at the end of the text, indicating the end of the data.

Extended data:

?

In C language, or more accurately, the end of the file is represented by the C standard function library. In the while loop, EOF is used as the end tag of the file. A file marked with EOF as the end of the file must be a text file. In a text file, data is stored in the form of ASCII code values of characters. We know that the range of ASCII code value is 0~ 127,-1 is impossible, so we can use e of as the end of the file.

References:

EOF Baidu encyclopedia