C++运算符 转换

来源:互联网 发布:隐形眼镜推荐 知乎 编辑:程序博客网 时间:2024/06/16 02:30

C++运算符转换,了解一下举几个简单例子

 &&    等价于      and #     等价于      %: {     等价于      <% }     等价于      %> &     等价于      bitand 
%:include <iostream>   //#     等价于      %:using namespace std;int main()<%           // {     等价于      <%    int  age=40;    if(1)<%        cout << age << ":" << bitand age   << endl;// &等价于bitand      }}
0 0
原创粉丝点击