条件操作符

来源:互联网 发布:喷绘图设计软件 编辑:程序博客网 时间:2024/05/22 05:00
int maxval = i > j ? i : j;//if i > j then maxval = i else maxval = j

0 0
原创粉丝点击