操作符别名
C、C++语言中使用的运算符或符号,在个别地区的键盘上是没有的,为了让所有人都使用C++进行编程,所以就对个别的字符取了别名。
|| 等价于 or && 等价于 and { 等价于 <% } 等价于 %>
#include<iostream> using namespace std; int main (void) <% int i = 1,j = 0; if (i or j) <% cout << "true" << endl; %> else <% cout << "false" << endl; %> return 0; %>