三元運算子 === ###### tags: `C++Book` ```cpp= loli = x ? y : z; ``` 就是下面那個東西 ```cpp= if (x) loli = y; else loli = z; ``` >https://hackmd.io/tT8oTtD1QpiRUVn5iw-wvA?both
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up