Is a C++ preprocessor identical to a C preprocessor?

前端 未结 3 1023
情书的邮戳
情书的邮戳 2020-11-28 12:37

I am wondering how different the preprocessors for C++ and C are.

The reason for the question is this question on a preprocessor-specific question w

3条回答
  •  执念已碎
    2020-11-28 13:22

    They are supposed to be the same: C++98 and C++03 should match C90, and C++0x should match C99. There may be bugs in the wording, though.

提交回复
热议问题