C和/或C ++预处理器的标准? [英] Standards for the C and/or C++ preprocessors?

查看:56
本文介绍了C和/或C ++预处理器的标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些标准文档指定C和/或C ++预处理程序的行为?

What standards document(s) specify the behavior of the C and/or C++ pre-processors?

Wikipedia建议 http://www.open-std.org/JTC1/SC22/WG14/www/standards 有效对于C99。是吗?

Wikipedia suggests http://www.open-std.org/JTC1/SC22/WG14/www/standards is valid for C99. Is it? What about C++ flavours?

推荐答案

C语言标准(ISO / IEC 9899)指定了预处理器在C语言中的行为。

The C language standard (ISO/IEC 9899) specifies how the preprocessor behaves in C.

C ++标准(ISO / IEC 14882)指定了预处理器在C ++中的行为。

The C++ standard (ISO/IEC 14882) specifies how the preprocessor behaves in C++.

这篇关于C和/或C ++预处理器的标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆