小编Nom*_*aso的帖子

何时在 c 中使用 True not 或 etcetera 而不是 &&、||、!=、= 等运算符

我的意思是我注意到实际的单词确实存在于 C 中,并且在我编写它们时点亮,但是我如何使用它们而不是像== != && ||.语法只是为了解释我的意思):

if not(stuff==3 and otherStuff==5)
  printf("something");
else if(statement==false)
  printf("some else");
Run Code Online (Sandbox Code Playgroud)

c operators

0
推荐指数
1
解决办法
51
查看次数

标签 统计

c ×1

operators ×1