请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
部件号: CCSTUDIO
尊敬的专家:
我已经选择 C11 语言。 但对于以下代码、我无法在所有控制台中看到任何输出。 您能告诉我如何解决这个问题吗?
_Static_assert (((2 + 2)% 3 == 1、“Whoa dude、you known!“);

此致!
Jacob
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
部件号: CCSTUDIO
尊敬的专家:
我已经选择 C11 语言。 但对于以下代码、我无法在所有控制台中看到任何输出。 您能告诉我如何解决这个问题吗?

此致!
Jacob
您好:
[引述 userid=“533124“ url=“~/support/processors-group/processors/f/processors-forum/1644272/ccstudio-ccs20-5-0-28__1-11-0-cannot-output-_static_assert-information _Static_assert (((2 + 2)% 3 == 1、“Whoa Dude、you known!“);由于计算结果为 True、因此该语句将通过、并且不会发出错误。
谢谢
Ki