int qempty() { return (f == r ? 1 : 0); }
在上面的代码片段中," ? "是什么意思?我们可以用什么替代它?
c++ operators ternary-operator
c++ ×1
operators ×1
ternary-operator ×1