Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在哪里可以找到 ANSI C 和 C99 的文字前缀和后缀列表?我正在寻找一个仅包含标准中定义的列表(即不包括编译器定义的前缀/后缀)。 我所说的例子:
1L 999u 123456789LLU 0xABCDLL 12.55lf 678.1235932E-5 L"Hello, world!" u8"stuff"
参见 C 标准附录 A 中的形式语法。官方标准不是免费提供的,但这里是 C11 最新草案版本中附件 A 的链接,转换为 html:
http://port70.net/~nsz/c/c11/n1570.html#A.1