额,p党表示难能可贵有优越感(虽然还是得学c++...)。
and 就是要求所有条件达成就执行;
or就是要求其中一个达成就行了;
not就是不达成就做
by SSL_lzx @ 2017-06-01 20:42:24
不会英语吗?【黑人问号】
by deluxurous @ 2017-06-01 20:42:44
@[ljchenyuxuan](/space/show?uid=36390)
- and:(例子)1 and 2 等于 1&2
- or:(例子)1 or 2 等于 1|2
- not:(例子)not 1等于 ~1
by LiBai @ 2017-06-01 20:44:43
也许我not错了
by LiBai @ 2017-06-01 20:44:58
```cpp
@[ljchenyuxuan](/space/show?uid=36390)
true or true == 1
true and true == 1
true or false == 1
true and false == 0
false or false == 0
false and false == 0
not true == 0
not false == 1
```
by LiBai @ 2017-06-01 21:33:30
@[ljchenyuxuan](/space/show?uid=36390)
by LiBai @ 2017-06-01 21:33:59
@ Antonio
这哪里是英语啊……
by owlAlice @ 2017-06-02 09:39:50
话说怎么@其他人啊!!!
by owlAlice @ 2017-06-02 09:40:17
哦,这真是看不懂啊。
by _Lemon_ @ 2017-06-26 16:24:32
@[ljchenyuxuan](/space/show?uid=36390) 这不是英语??
by 中2少年雷耶斯 @ 2017-07-05 18:54:22