整数后缀J是什么意思? [英] What does the integer suffix J mean?
本文介绍了整数后缀J是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下来源:
int main() { 000J; }
使用gcc 4.8.4编译时没有错误。
我知道有像L或U这样的后缀,但我没有找到关于J的任何内容。
With gcc 4.8.4 it compiles without errors. I know there are suffixes like L or U, but I didn't find anything about J.
那它该怎么办?
推荐答案
我收到警告:
虚构常数是GNU扩展
Imaginary constants are a GNU extension
J
后缀是一个GNU扩展,导致字面值为 _Complex
类型。
The J
suffix is a GNU extension, which causes the literal to be of a _Complex
type.
此处有更多信息: https://gcc.gnu.org/onlinedocs/gcc/Complex.html
这篇关于整数后缀J是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文