What's the meaning of #line in C language?
问题 What's the meaning of #line in the C language? Where would it be used? 回答1: It tells the compiler where the following line actually came from. It's usually only the C preprocessor that adds these, for example, when including a file, it tells the compiler (which is basically only seeing one stream of data) that we're looking at a different file. This may sound strange, but the preprocessor simply inserts the header files where you specify your includes, and the compiler works on the whole