- 博客(1)
- 收藏
- 关注
原创 C++三目运算符(来自C++编译器的爱)
先来段C语言的 one.c #include <stdio.h> int main() { int max = 12; int min = 17; (a < b ? a : b) = 20; } gcc one.c error: lvalue required as left operand of assignment 来自C++的关爱 one.cpp #incl...
2019-01-25 14:36:28
444
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅