Should preprocessor instructions be on the beginning of a line?

前端 未结 5 1699
长发绾君心
长发绾君心 2020-12-16 12:52

A while ago I have discovered an (rather ancient) C Compiler, which scanned macros this way (Pseudo code):

 if line.startswith(\"#include\") or line.startswi         


        
5条回答
  •  臣服心动
    2020-12-16 13:38

    from gcc C preprocessor documentation:

    Preprocessing directives are lines in your program that start with #'. Whitespace is allowed before and after the#'.

提交回复
热议问题