There's the ternary operator. It has funny precedence, so it's good practice to always parenthesize it. bool foo = ( a ? b : ( c ? d : e ) ).
確定! 回上一頁