📜  为什么代码文件末尾必须有一个新行 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:42.137000             🧑  作者: Mango

代码示例1
Each line should be terminated in a newline character, including the last one. Some programs have problems processing the last line of a file if it isn't newline terminated. GCC warns about it not because it can't process the file, but because it has to as part of the standard.